home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Prog / T / ThinkHelper 1.0b1.sit / ThinkHelper 1.0b1 / apps.ThinkHelper.rsrc < prev    next >
MacOS Resource Fork  |  1993-08-18  |  38.1 KB  |  [2CLK/LAND]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacOS Resource Fork (archive/rsrc).

You can browse this item here: apps.ThinkHelper.rsrc

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert MacOS Resource Fork (archive/rsrc) magic Supported
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert BeOS Resource Data (archive/beOSResourceData) ext Unsupported
1% dexvert AppleSingle (archive/appleSingle) fallback Supported
1% dexvert TTComp Archive (archive/ttcomp) fallback Supported
100% file AppleDouble encoded Macintosh file default
99% file data default
66% TrID Mac AppleDouble encoded default
33% TrID TTComp archive compressed (bin-2K) default (weak)
100% siegfried fmt/503 AppleDouble Resource Fork (2) default
100% lsar AppleSingle default


id metadata
keyvalue
macFileType[2CLK]
macFileCreator[LAND]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 16 07 00 02 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 02 00 00 00 09 00 00 |........|........|
|00000020| 00 32 00 00 00 20 00 00 | 00 02 00 00 00 52 00 00 |.2... ..|.....R..|
|00000030| 98 3b 32 43 4c 4b 4c 41 | 4e 44 01 00 00 00 00 00 |.;2CLKLA|ND......|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 01 00 00 00 | 97 9f 00 00 96 9f 00 00 |........|........|
|00000060| 00 9c 00 00 00 02 0d 52 | 65 6d 6f 74 65 20 41 63 |.......R|emote Ac|
|00000070| 63 65 73 73 02 00 00 00 | 41 50 50 4c 6c 7a 20 20 |cess....|APPLlz |
|00000080| 21 00 10 61 70 70 73 2e | 54 68 69 6e 6b 48 65 6c |!..apps.|ThinkHel|
|00000090| 70 65 72 70 02 00 00 00 | 32 43 4c 4b 4c 41 4e 44 |perp....|2CLKLAND|
|000000a0| 00 00 00 00 32 43 4c 4b | 4c 41 4e 44 00 00 00 00 |....2CLK|LAND....|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 a8 98 56 4b | 00 00 00 00 00 00 98 3b |......VK|.......;|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 16 00 00 00 00 02 |........|........|
|000000e0| 10 73 6f 75 72 63 65 73 | 65 72 76 65 72 20 6c 6f |.sources|erver lo|
|000000f0| 67 75 02 00 00 00 54 45 | 58 54 4b 41 48 4c 01 00 |gu....TE|XTKAHL..|
|00000100| 00 50 ff a0 00 00 00 00 | 07 b9 00 00 00 00 c2 2e |.P......|........|
|00000110| 00 00 c6 00 00 00 00 00 | 00 00 00 00 00 00 a8 4b |........|.......K|
|00000120| f9 d1 a8 4f 1e e8 00 00 | 00 00 00 00 00 00 00 00 |...O....|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 17 37 00 01 |........|.....7..|
|00000140| 18 30 00 01 1e cd 00 01 | 00 00 00 00 00 00 00 00 |.0......|........|
|00000150| 00 00 00 00 00 06 05 32 | 2e 31 62 31 00 00 00 09 |.......2|.1b1....|
|00000160| 08 46 72 6f 6e 74 69 65 | 72 00 00 00 f0 00 01 04 |.Frontie|r.......|
|00000170| 98 00 02 00 00 00 0c 00 | 00 00 68 00 00 02 00 00 |........|..h.....|
|00000180| 0f 06 47 65 6e 65 76 61 | 00 00 00 00 00 00 00 00 |..Geneva|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 09 00 00 00 | 00 00 00 00 00 00 00 06 |........|........|
|000001b0| 54 00 00 a4 d0 77 90 a8 | 98 56 4c 00 00 00 06 00 |T....w..|.VL.....|
|000001c0| 00 00 aa 00 79 01 0e 01 | df 4c 41 4e 44 00 00 00 |....y...|.LAND...|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 6f 6e 20 63 61 6c 6c |........|.on call|
|000001f0| 69 6d 70 6f 72 74 65 72 | 20 28 70 61 74 68 29 20 |importer| (path) |
|00000200| c7 74 68 69 73 20 73 63 | 72 69 70 74 20 69 73 20 |.this sc|ript is |
|00000210| 73 61 76 65 64 20 77 69 | 74 68 20 61 6c 6c 20 65 |saved wi|th all e|
|00000220| 78 70 6f 72 74 65 64 20 | 6f 62 6a 65 63 74 73 0d |xported |objects.|
|00000230| 09 72 65 74 75 72 6e 20 | 28 65 78 70 6f 72 74 2e |.return |(export.|
|00000240| 69 6d 70 6f 72 74 65 72 | 20 28 70 61 74 68 29 29 |importer| (path))|
|00000250| 0d 80 00 00 00 00 00 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 0d 0c 63 61 6c 6c 69 6d | 70 6f 72 74 65 72 00 00 |..callim|porter..|
|00000270| 00 02 01 31 00 00 95 79 | 74 61 62 6c 00 01 03 98 |...1...y|tabl....|
|00000280| 00 00 94 c1 00 00 00 dc | 00 00 00 00 0d 01 00 00 |........|........|
|00000290| 00 12 00 00 00 df 0d 01 | 00 00 00 ec 00 00 02 eb |........|........|
|000002a0| 0d 01 00 00 02 f9 00 00 | 03 cd 0d 01 00 00 03 de |........|........|
|000002b0| 00 00 05 e1 0d 01 00 00 | 05 ee 00 00 06 db 0d 01 |........|........|
|000002c0| 00 00 06 e8 00 00 09 4a | 0d 01 00 00 09 57 00 00 |.......J|.....W..|
|000002d0| 0a 5a 0d 01 00 00 0a 68 | 00 00 20 4d 0d 01 00 00 |.Z.....h|.. M....|
|000002e0| 20 56 00 00 79 52 0d 01 | 00 00 79 5c 00 00 7b 0a | V..yR..|..y\..{.|
|000002f0| 0d 01 00 00 7b 15 00 00 | 7c 2a 0d 01 00 00 7c 3b |....{...||*....|;|
|00000300| 00 00 7d 11 0d 01 00 00 | 7d 1e 00 00 7e bf 0d 01 |..}.....|}...~...|
|00000310| 00 00 7e cd 00 00 7f a1 | 0d 01 00 00 7f af 00 00 |..~.....|........|
|00000320| 80 83 0c 01 00 00 80 86 | 00 00 80 8e 0d 01 00 00 |........|........|
|00000330| 80 9c 00 00 81 8a 0d 01 | 00 00 81 94 00 00 82 8c |........|........|
|00000340| 0d 01 00 00 82 93 00 00 | 8e e7 0d 01 00 00 8e f4 |........|........|
|00000350| 00 00 90 63 0d 01 00 00 | 90 73 00 00 91 82 0d 01 |...c....|.s......|
|00000360| 00 00 91 8c 11 63 6c 6f | 73 65 54 61 72 67 65 74 |.....clo|seTarget|
|00000370| 57 69 6e 64 6f 77 00 00 | 00 c9 00 01 04 e8 00 02 |Window..|........|
|00000380| 00 00 00 0c 00 00 00 41 | 00 01 02 00 00 0f 06 47 |.......A|.......G|
|00000390| 65 6e 65 76 61 00 00 00 | 00 00 00 00 00 00 00 00 |eneva...|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 09 00 00 00 00 00 00 | 00 00 00 00 06 54 00 00 |........|.....T..|
|000003c0| a8 1c 2c c3 a8 55 cf 9f | 00 00 00 0a 00 00 00 5a |..,..U..|.......Z|
|000003d0| fd 84 01 77 ff 93 4c 41 | 4e 44 00 00 00 00 00 00 |...w..LA|ND......|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 6f 6e | 20 63 6c 6f 73 65 54 61 |......on| closeTa|
|00000400| 72 67 65 74 57 69 6e 64 | 6f 77 28 29 0d 09 72 65 |rgetWind|ow()..re|
|00000410| 74 75 72 6e 20 54 68 69 | 6e 6b 48 65 6c 70 65 72 |turn Thi|nkHelper|
|00000420| 2e 63 61 6c 6c 4d 65 6e | 75 49 74 65 6d 28 22 43 |.callMen|uItem("C|
|00000430| 6c 6f 73 65 22 29 0d 80 | 00 00 00 00 00 80 00 00 |lose")..|........|
|00000440| 00 00 00 0c 63 61 6c 6c | 4d 65 6e 75 49 74 65 6d |....call|MenuItem|
|00000450| 00 00 01 fb 00 01 04 e8 | 00 02 00 00 00 30 00 00 |........|.....0..|
|00000460| 01 4f 00 07 02 00 00 0f | 06 47 65 6e 65 76 61 00 |.O......|.Geneva.|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 09 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 06 54 | 00 00 a8 56 18 16 a8 55 |.......T|...V...U|
|000004a0| c4 80 00 00 00 05 80 00 | 00 58 00 3c 01 8f 01 e3 |........|.X.<....|
|000004b0| 4c 41 4e 44 00 00 00 00 | 00 00 00 00 00 00 00 00 |LAND....|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 6f 6e 20 63 61 6c 6c 4d | 65 6e 75 49 74 65 6d 28 |on callM|enuItem(|
|000004e0| 69 74 65 6d 4e 61 6d 65 | 29 0d 09 66 69 6e 64 73 |itemName|)..finds|
|000004f0| 20 61 6e 64 20 63 61 6c | 6c 73 20 74 68 65 20 73 | and cal|ls the s|
|00000500| 70 65 63 69 66 69 65 64 | 20 6d 65 6e 75 20 69 74 |pecified| menu it|
|00000510| 65 6d 0d 09 73 6f 72 74 | 20 6f 66 20 62 75 67 3a |em..sort| of bug:|
|00000520| 20 49 20 4e 45 45 44 20 | 74 6f 20 68 61 76 65 20 | I NEED |to have |
|00000530| 54 48 43 20 69 6e 20 66 | 72 6f 6e 74 20 69 6e 20 |THC in f|ront in |
|00000540| 6f 72 64 65 72 20 74 6f | 20 6d 61 6b 65 20 6d 65 |order to| make me|
|00000550| 6e 75 20 73 65 6c 65 63 | 74 69 6f 6e 73 0d 09 6c |nu selec|tions..l|
|00000560| 6f 63 61 6c 20 28 6c 61 | 73 74 41 70 70 20 3d 20 |ocal (la|stApp = |
|00000570| 73 79 73 2e 66 72 6f 6e | 74 4d 6f 73 74 41 70 70 |sys.fron|tMostApp|
|00000580| 28 29 2c 20 72 65 73 75 | 6c 74 29 0d 09 73 79 73 |(), resu|lt)..sys|
|00000590| 2e 62 72 69 6e 67 41 70 | 70 54 6f 46 72 6f 6e 74 |.bringAp|pToFront|
|000005a0| 28 54 68 69 6e 6b 2e 69 | 64 29 0d 09 72 65 73 75 |(Think.i|d)..resu|
|000005b0| 6c 74 20 3d 20 61 70 70 | 6c 65 45 76 65 6e 74 28 |lt = app|leEvent(|
|000005c0| 27 4b 41 48 4c 27 2c 20 | 27 54 48 4c 50 27 2c 20 |'KAHL', |'THLP', |
|000005d0| 27 63 6d 6e 75 27 2c 20 | 27 2d 2d 2d 2d 27 2c 20 |'cmnu', |'----', |
|000005e0| 73 74 72 69 6e 67 28 69 | 74 65 6d 4e 61 6d 65 29 |string(i|temName)|
|000005f0| 29 0d 09 73 79 73 2e 62 | 72 69 6e 67 41 70 70 54 |)..sys.b|ringAppT|
|00000600| 6f 46 72 6f 6e 74 28 6c | 61 73 74 41 70 70 29 0d |oFront(l|astApp).|
|00000610| 09 72 65 74 75 72 6e 20 | 72 65 73 75 6c 74 0d 80 |.return |result..|
|00000620| 00 00 00 00 00 84 00 00 | 00 00 00 84 00 00 00 00 |........|........|
|00000630| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|00000640| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 0d |........|........|
|00000650| 63 6f 70 79 53 65 6c 65 | 63 74 69 6f 6e 00 00 00 |copySele|ction...|
|00000660| d0 00 01 04 e8 00 02 00 | 00 00 0c 00 00 00 48 00 |........|......H.|
|00000670| 01 02 00 00 0f 06 47 65 | 6e 65 76 61 00 00 00 00 |......Ge|neva....|
|00000680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000690| 00 00 00 00 00 00 00 00 | 09 00 00 00 00 00 00 00 |........|........|
|000006a0| 00 00 00 06 54 00 00 a8 | 1c 2c c3 a8 55 c1 b5 00 |....T...|.,..U...|
|000006b0| 00 00 08 80 00 00 46 02 | 95 01 0e 04 16 4c 41 4e |......F.|.....LAN|
|000006c0| 44 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |D.......|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 6f 6e 20 |........|.....on |
|000006e0| 63 6f 70 79 53 65 6c 65 | 63 74 69 6f 6e 28 29 0d |copySele|ction().|
|000006f0| 09 72 65 74 75 72 6e 20 | 61 70 70 6c 65 45 76 65 |.return |appleEve|
|00000700| 6e 74 28 54 68 69 6e 6b | 2e 69 64 2c 20 54 68 69 |nt(Think|.id, Thi|
|00000710| 6e 6b 48 65 6c 70 65 72 | 2e 69 64 2c 20 27 63 73 |nkHelper|.id, 'cs|
|00000720| 65 6c 27 29 0d 80 00 00 | 00 00 00 80 00 00 00 00 |el')....|........|
|00000730| 00 10 63 72 65 61 74 65 | 53 6f 75 72 63 65 46 69 |..create|SourceFi|
|00000740| 6c 65 00 00 01 ff 00 01 | 04 e8 00 02 00 00 00 48 |le......|.......H|
|00000750| 00 00 01 3b 00 02 02 00 | 00 0f 06 47 65 6e 65 76 |...;....|...Genev|
|00000760| 61 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |a.......|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 09 00 00 |........|........|
|00000780| 00 00 00 02 00 02 00 00 | 06 54 00 00 a8 25 80 d6 |........|.T...%..|
|00000790| a8 55 c4 80 00 00 00 06 | 00 00 00 4a 00 1b 01 12 |.U......|...J....|
|000007a0| 01 9c 4c 41 4e 44 00 00 | 00 00 00 00 00 00 00 00 |..LAND..|........|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 6f 6e 20 63 72 65 | 61 74 65 53 6f 75 72 63 |..on cre|ateSourc|
|000007d0| 65 46 69 6c 65 28 70 61 | 74 68 29 0d 09 69 66 20 |eFile(pa|th)..if |
|000007e0| 66 69 6c 65 2e 65 78 69 | 73 74 73 28 70 61 74 68 |file.exi|sts(path|
|000007f0| 29 0d 09 09 6c 6f 63 61 | 6c 20 28 6c 61 73 74 41 |)...loca|l (lastA|
|00000800| 70 70 20 3d 20 73 79 73 | 2e 66 72 6f 6e 74 6d 6f |pp = sys|.frontmo|
|00000810| 73 74 41 70 70 28 29 29 | 0d 09 09 46 72 6f 6e 74 |stApp())|...Front|
|00000820| 69 65 72 2e 62 72 69 6e | 67 54 6f 46 72 6f 6e 74 |ier.brin|gToFront|
|00000830| 28 29 0d 09 09 69 66 20 | 21 20 64 69 61 6c 6f 67 |()...if |! dialog|
|00000840| 2e 79 65 73 4e 6f 28 22 | 4f 76 65 72 77 72 69 74 |.yesNo("|Overwrit|
|00000850| 65 20 22 20 2b 20 70 61 | 74 68 20 2b 20 22 3f 22 |e " + pa|th + "?"|
|00000860| 29 0d 09 09 09 72 65 74 | 75 72 6e 20 66 61 6c 73 |)....ret|urn fals|
|00000870| 65 0d 09 09 73 79 73 2e | 62 72 69 6e 67 41 70 70 |e...sys.|bringApp|
|00000880| 54 6f 46 72 6f 6e 74 28 | 6c 61 73 74 41 70 70 29 |ToFront(|lastApp)|
|00000890| 0d 09 09 66 69 6c 65 2e | 64 65 6c 65 74 65 28 70 |...file.|delete(p|
|000008a0| 61 74 68 29 0d 09 66 69 | 6c 65 2e 6e 65 77 28 70 |ath)..fi|le.new(p|
|000008b0| 61 74 68 29 0d 09 66 69 | 6c 65 2e 73 65 74 43 72 |ath)..fi|le.setCr|
|000008c0| 65 61 74 6f 72 28 70 61 | 74 68 2c 20 27 4b 41 48 |eator(pa|th, 'KAH|
|000008d0| 4c 27 29 0d 09 66 69 6c | 65 2e 73 65 74 54 79 70 |L')..fil|e.setTyp|
|000008e0| 65 28 70 61 74 68 2c 20 | 27 54 45 58 54 27 29 0d |e(path, |'TEXT').|
|000008f0| 09 72 65 74 75 72 6e 20 | 74 72 75 65 0d 80 00 00 |.return |true....|
|00000900| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 80 |........|........|
|00000910| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00000920| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|00000930| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 80 |........|........|
|00000940| 00 00 00 00 00 0c 64 65 | 6c 65 74 65 4d 61 72 6b |......de|leteMark|
|00000950| 65 72 00 00 00 e9 00 01 | 04 e8 00 02 00 00 00 0c |er......|........|
|00000960| 00 00 00 61 00 01 02 00 | 00 0f 06 47 65 6e 65 76 |...a....|...Genev|
|00000970| 61 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |a.......|........|
|00000980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 09 00 00 |........|........|
|00000990| 00 00 00 00 00 00 00 00 | 06 54 00 00 a8 27 de b0 |........|.T...'..|
|000009a0| a8 55 c4 80 00 00 00 05 | 80 00 00 4c 00 16 01 14 |.U......|...L....|
|000009b0| 01 97 4c 41 4e 44 00 00 | 00 00 00 00 00 00 00 00 |..LAND..|........|
|000009c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009d0| 00 00 6f 6e 20 64 65 6c | 65 74 65 4d 61 72 6b 65 |..on del|eteMarke|
|000009e0| 72 28 6e 61 6d 65 29 0d | 09 72 65 74 75 72 6e 20 |r(name).|.return |
|000009f0| 61 70 70 6c 65 45 76 65 | 6e 74 28 54 68 69 6e 6b |appleEve|nt(Think|
|00000a00| 2e 69 64 2c 20 54 68 69 | 6e 6b 48 65 6c 70 65 72 |.id, Thi|nkHelper|
|00000a10| 2e 69 64 2c 20 27 64 6d | 72 6b 27 2c 20 27 2d 2d |.id, 'dm|rk', '--|
|00000a20| 2d 2d 27 2c 20 73 74 72 | 69 6e 67 28 6e 61 6d 65 |--', str|ing(name|
|00000a30| 29 29 0d 80 00 00 00 00 | 00 80 00 00 00 00 00 0c |))......|........|
|00000a40| 73 65 74 54 61 72 67 65 | 74 50 6f 73 00 00 02 5e |setTarge|tPos...^|
|00000a50| 00 01 04 e8 00 02 00 00 | 00 36 00 00 01 ac 00 06 |........|.6......|
|00000a60| 02 00 00 0f 06 47 65 6e | 65 76 61 00 00 00 00 00 |.....Gen|eva.....|
|00000a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a80| 00 00 00 00 00 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00000a90| 00 00 06 54 00 00 a8 37 | fb 27 a8 55 cf 9f 00 00 |...T...7|.'.U....|
|00000aa0| 00 07 00 00 00 ac 00 0b | 01 60 02 77 4c 41 4e 44 |........|.`.wLAND|
|00000ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 73 65 74 20 |........|....set |
|00000ad0| 61 20 77 69 6e 64 6f 77 | 20 70 6f 73 69 74 69 6f |a window| positio|
|00000ae0| 6e 0d 6f 6e 20 73 65 74 | 54 61 72 67 65 74 50 6f |n.on set|TargetPo|
|00000af0| 73 28 78 50 6f 73 2c 20 | 79 50 6f 73 2c 20 78 53 |s(xPos, |yPos, xS|
|00000b00| 69 7a 65 2c 20 79 53 69 | 7a 65 29 0d 09 66 69 6e |ize, ySi|ze)..fin|
|00000b10| 64 73 20 61 6e 64 20 63 | 61 6c 6c 73 20 74 68 65 |ds and c|alls the|
|00000b20| 20 73 70 65 63 69 66 69 | 65 64 20 6d 65 6e 75 20 | specifi|ed menu |
|00000b30| 69 74 65 6d 0d 09 73 6f | 72 74 20 6f 66 20 62 75 |item..so|rt of bu|
|00000b40| 67 3a 20 49 20 4e 45 45 | 44 20 74 6f 20 68 61 76 |g: I NEE|D to hav|
|00000b50| 65 20 54 48 43 20 69 6e | 20 66 72 6f 6e 74 20 69 |e THC in| front i|
|00000b60| 6e 20 6f 72 64 65 72 20 | 74 6f 20 63 6c 6f 73 65 |n order |to close|
|00000b70| 20 74 68 65 20 77 69 6e | 64 6f 77 2e 2e 2e 0d 09 | the win|dow.....|
|00000b80| 6c 6f 63 61 6c 20 28 6c | 61 73 74 41 70 70 20 3d |local (l|astApp =|
|00000b90| 20 73 79 73 2e 66 72 6f | 6e 74 4d 6f 73 74 41 70 | sys.fro|ntMostAp|
|00000ba0| 70 28 29 2c 20 72 65 73 | 75 6c 74 29 0d 09 73 79 |p(), res|ult)..sy|
|00000bb0| 73 2e 62 72 69 6e 67 41 | 70 70 54 6f 46 72 6f 6e |s.bringA|ppToFron|
|00000bc0| 74 28 54 68 69 6e 6b 2e | 69 64 29 0d 09 72 65 73 |t(Think.|id)..res|
|00000bd0| 75 6c 74 20 3d 20 61 70 | 70 6c 65 45 76 65 6e 74 |ult = ap|pleEvent|
|00000be0| 28 54 68 69 6e 6b 2e 69 | 64 2c 20 54 68 69 6e 6b |(Think.i|d, Think|
|00000bf0| 48 65 6c 70 65 72 2e 69 | 64 2c 20 27 6d 76 77 6e |Helper.i|d, 'mvwn|
|00000c00| 27 2c 20 27 77 68 72 65 | 27 2c 20 50 6f 69 6e 74 |', 'whre|', Point|
|00000c10| 28 78 50 6f 73 20 2b 20 | 22 2c 20 22 20 2b 20 79 |(xPos + |", " + y|
|00000c20| 50 6f 73 29 2c 20 27 73 | 69 7a 65 27 2c 20 50 6f |Pos), 's|ize', Po|
|00000c30| 69 6e 74 28 78 53 69 7a | 65 20 2b 20 22 2c 20 22 |int(xSiz|e + ", "|
|00000c40| 20 2b 20 79 53 69 7a 65 | 29 29 0d 09 73 79 73 2e | + ySize|))..sys.|
|00000c50| 62 72 69 6e 67 41 70 70 | 54 6f 46 72 6f 6e 74 28 |bringApp|ToFront(|
|00000c60| 6c 61 73 74 41 70 70 29 | 0d 09 72 65 74 75 72 6e |lastApp)|..return|
|00000c70| 20 72 65 73 75 6c 74 0d | 84 00 00 00 00 00 80 00 | result.|........|
|00000c80| 00 00 00 00 84 00 00 00 | 00 00 84 00 00 00 00 00 |........|........|
|00000c90| 80 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|00000ca0| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 0c 67 |........|.......g|
|00000cb0| 65 74 54 61 72 67 65 74 | 50 6f 73 00 00 00 ff 00 |etTarget|Pos.....|
|00000cc0| 01 04 e8 00 02 00 00 00 | 12 00 00 00 71 00 02 02 |........|....q...|
|00000cd0| 00 00 0f 06 47 65 6e 65 | 76 61 00 00 00 00 00 00 |....Gene|va......|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 00 00 00 00 00 00 09 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d00| 00 06 54 00 00 a8 38 03 | 50 a8 55 c4 80 00 00 00 |..T...8.|P.U.....|
|00000d10| 04 00 00 00 48 00 43 01 | 10 01 c4 4c 41 4e 44 00 |....H.C.|...LAND.|
|00000d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d30| 00 00 00 00 00 00 00 00 | 00 00 00 6f 6e 20 67 65 |........|...on ge|
|00000d40| 74 54 61 72 67 65 74 50 | 6f 73 28 29 0d 09 72 65 |tTargetP|os()..re|
|00000d50| 74 75 72 6e 73 20 74 68 | 65 20 74 61 72 67 65 74 |turns th|e target|
|00000d60| 20 77 69 6e 64 6f 77 20 | 73 69 7a 65 20 61 73 20 | window |size as |
|00000d70| 61 20 52 65 63 74 0d 09 | 72 65 74 75 72 6e 20 61 |a Rect..|return a|
|00000d80| 70 70 6c 65 45 76 65 6e | 74 28 54 68 69 6e 6b 2e |ppleEven|t(Think.|
|00000d90| 69 64 2c 20 54 68 69 6e | 6b 48 65 6c 70 65 72 2e |id, Thin|kHelper.|
|00000da0| 69 64 2c 20 27 67 70 6f | 73 27 29 0d 80 00 00 00 |id, 'gpo|s').....|
|00000db0| 00 00 84 00 00 00 00 00 | 80 00 00 00 00 00 0d 64 |........|.......d|
|00000dc0| 6f 63 53 65 72 76 65 72 | 54 65 78 74 00 00 15 e1 |ocServer|Text....|
|00000dd0| 00 01 00 e8 00 02 00 00 | 03 d2 00 00 11 93 00 07 |........|........|
|00000de0| 02 00 00 0f 06 47 65 6e | 65 76 61 00 00 00 00 00 |.....Gen|eva.....|
|00000df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e00| 00 00 00 00 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00000e10| 00 00 06 54 00 00 a8 25 | 8c ed a8 55 c4 80 00 00 |...T...%|...U....|
|00000e20| 00 14 00 00 00 cb 00 89 | 01 d6 01 f7 4c 41 4e 44 |........|....LAND|
|00000e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 54 68 69 6e |........|....Thin|
|00000e50| 6b 48 65 6c 70 65 72 2e | 63 6c 6f 73 65 54 61 72 |kHelper.|closeTar|
|00000e60| 67 65 74 57 69 6e 64 6f | 77 0d 09 53 79 6e 74 61 |getWindo|w..Synta|
|00000e70| 78 0d 09 09 54 68 69 6e | 6b 48 65 6c 70 65 72 2e |x...Thin|kHelper.|
|00000e80| 63 6c 6f 73 65 54 61 72 | 67 65 74 57 69 6e 64 6f |closeTar|getWindo|
|00000e90| 77 28 29 0d 09 50 61 72 | 61 6d 65 74 65 72 73 0d |w()..Par|ameters.|
|00000ea0| 09 09 4e 6f 6e 65 0d 09 | 41 63 74 69 6f 6e 0d 09 |..None..|Action..|
|00000eb0| 09 70 6f 73 74 73 20 61 | 20 6d 6f 75 73 65 20 64 |.posts a| mouse d|
|00000ec0| 6f 77 6e 20 65 76 65 6e | 74 20 69 6e 20 74 68 65 |own even|t in the|
|00000ed0| 20 63 6c 6f 73 65 20 62 | 6f 78 20 6f 66 20 74 68 | close b|ox of th|
|00000ee0| 65 20 63 75 72 72 65 6e | 74 6c 79 20 6f 70 65 6e |e curren|tly open|
|00000ef0| 20 54 68 69 6e 6b 20 50 | 72 6f 6a 65 63 74 20 4d | Think P|roject M|
|00000f00| 61 6e 61 67 65 72 20 64 | 6f 63 75 6d 65 6e 74 2e |anager d|ocument.|
|00000f10| 0d 09 52 65 74 75 72 6e | 73 0d 09 09 4e 6f 6e 65 |..Return|s...None|
|00000f20| 0d 09 45 78 61 6d 70 6c | 65 73 0d 09 09 54 68 69 |..Exampl|es...Thi|
|00000f30| 6e 6b 48 65 6c 70 65 72 | 2e 63 6c 6f 73 65 54 61 |nkHelper|.closeTa|
|00000f40| 72 67 65 74 57 69 6e 64 | 6f 77 28 29 0d 09 09 09 |rgetWind|ow()....|
|00000f50| 74 72 75 65 0d 54 68 69 | 6e 6b 48 65 6c 70 65 72 |true.Thi|nkHelper|
|00000f60| 2e 73 65 74 54 61 72 67 | 65 74 57 69 6e 64 6f 77 |.setTarg|etWindow|
|00000f70| 0d 09 53 79 6e 74 61 78 | 0d 09 09 54 68 69 6e 6b |..Syntax|...Think|
|00000f80| 48 65 6c 70 65 72 2e 73 | 65 74 54 61 72 67 65 74 |Helper.s|etTarget|
|00000f90| 57 69 6e 64 6f 77 28 70 | 61 74 68 4e 61 6d 65 29 |Window(p|athName)|
|00000fa0| 0d 09 50 61 72 61 6d 65 | 74 65 72 73 0d 09 09 74 |..Parame|ters...t|
|00000fb0| 68 65 20 6e 61 6d 65 20 | 6f 66 20 61 20 54 45 58 |he name |of a TEX|
|00000fc0| 54 20 66 69 6c 65 0d 09 | 41 63 74 69 6f 6e 0d 09 |T file..|Action..|
|00000fd0| 09 65 6e 73 75 72 65 73 | 20 74 68 61 74 20 70 61 |.ensures| that pa|
|00000fe0| 74 68 4e 61 6d 65 20 69 | 73 20 74 68 65 20 63 75 |thName i|s the cu|
|00000ff0| 72 72 65 6e 74 6c 79 20 | 6f 70 65 6e 20 61 6e 64 |rrently |open and|
|00001000| 20 66 72 6f 6e 74 6d 6f | 73 74 20 28 74 61 72 67 | frontmo|st (targ|
|00001010| 65 74 29 20 77 69 6e 64 | 6f 77 0d 09 52 65 74 75 |et) wind|ow..Retu|
|00001020| 72 6e 73 0d 09 09 4e 6f | 6e 65 0d 09 45 78 61 6d |rns...No|ne..Exam|
|00001030| 70 6c 65 73 0d 09 09 54 | 68 69 6e 6b 48 65 6c 70 |ples...T|hinkHelp|
|00001040| 65 72 2e 73 65 74 54 61 | 72 67 65 74 57 69 6e 64 |er.setTa|rgetWind|
|00001050| 6f 77 28 22 62 69 67 7a | 3a 66 6f 6f 22 29 0d 09 |ow("bigz|:foo")..|
|00001060| 09 09 74 72 75 65 0d 09 | 53 65 65 20 41 6c 73 6f |..true..|See Also|
|00001070| 0d 09 09 54 68 69 6e 6b | 2e 6f 70 65 6e 46 69 6c |...Think|.openFil|
|00001080| 65 0d 54 68 69 6e 6b 48 | 65 6c 70 65 72 2e 63 6f |e.ThinkH|elper.co|
|00001090| 70 79 53 65 6c 65 63 74 | 69 6f 6e 0d 09 53 79 6e |pySelect|ion..Syn|
|000010a0| 74 61 78 0d 09 09 54 68 | 69 6e 6b 48 65 6c 70 65 |tax...Th|inkHelpe|
|000010b0| 72 2e 63 6f 70 79 53 65 | 6c 65 63 74 69 6f 6e 28 |r.copySe|lection(|
|000010c0| 29 0d 09 50 61 72 61 6d | 65 74 65 72 73 0d 09 09 |)..Param|eters...|
|000010d0| 4e 6f 6e 65 0d 09 41 63 | 74 69 6f 6e 0d 09 09 72 |None..Ac|tion...r|
|000010e0| 65 74 75 72 6e 73 20 61 | 20 73 74 72 69 6e 67 20 |eturns a| string |
|000010f0| 63 6f 6e 74 61 69 6e 69 | 6e 67 20 74 68 65 20 74 |containi|ng the t|
|00001100| 65 78 74 20 6f 66 20 74 | 68 65 20 63 75 72 72 65 |ext of t|he curre|
|00001110| 6e 74 20 73 65 6c 65 63 | 74 69 6f 6e 20 69 6e 20 |nt selec|tion in |
|00001120| 74 68 65 20 74 61 72 67 | 65 74 20 77 69 6e 64 6f |the targ|et windo|
|00001130| 77 0d 09 52 65 74 75 72 | 6e 73 0d 09 09 61 20 73 |w..Retur|ns...a s|
|00001140| 74 72 69 6e 67 0d 09 45 | 78 61 6d 70 6c 65 73 0d |tring..E|xamples.|
|00001150| 09 09 54 68 69 6e 6b 48 | 65 6c 70 65 72 2e 63 6f |..ThinkH|elper.co|
|00001160| 70 79 53 65 6c 65 63 74 | 69 6f 6e 28 29 20 c7 ca |pySelect|ion() ..|
|00001170| 77 69 74 68 20 73 6f 6d | 65 74 68 69 6e 67 20 73 |with som|ething s|
|00001180| 65 6c 65 63 74 65 64 20 | 69 6e 20 74 68 65 20 74 |elected |in the t|
|00001190| 61 72 67 65 74 20 77 69 | 6e 64 6f 77 0d 09 09 09 |arget wi|ndow....|
|000011a0| 54 68 69 6e 6b 48 65 6c | 70 50 61 74 63 68 0d 09 |ThinkHel|pPatch..|
|000011b0| 09 54 68 69 6e 6b 48 65 | 6c 70 65 72 2e 63 6f 70 |.ThinkHe|lper.cop|
|000011c0| 79 53 65 6c 65 63 74 69 | 6f 6e 28 29 20 c7 ca 77 |ySelecti|on() ..w|
|000011d0| 69 74 68 20 6e 6f 74 68 | 69 6e 67 20 73 65 6c 65 |ith noth|ing sele|
|000011e0| 63 74 65 64 20 69 6e 20 | 74 68 65 20 74 61 72 67 |cted in |the targ|
|000011f0| 65 74 20 77 69 6e 64 6f | 77 0d 09 09 09 0d 54 68 |et windo|w.....Th|
|00001200| 69 6e 6b 48 65 6c 70 65 | 72 2e 63 72 65 61 74 65 |inkHelpe|r.create|
|00001210| 53 6f 75 72 63 65 46 69 | 6c 65 0d 09 53 79 6e 74 |SourceFi|le..Synt|
|00001220| 61 78 0d 09 09 54 68 69 | 6e 6b 48 65 6c 70 65 72 |ax...Thi|nkHelper|
|00001230| 2e 63 72 65 61 74 65 53 | 6f 75 72 63 65 46 69 6c |.createS|ourceFil|
|00001240| 65 28 70 61 74 68 29 0d | 09 50 61 72 61 6d 65 74 |e(path).|.Paramet|
|00001250| 65 72 73 0d 09 09 74 68 | 65 20 70 61 74 68 20 74 |ers...th|e path t|
|00001260| 6f 20 61 20 6e 65 77 20 | 54 68 69 6e 6b 20 43 20 |o a new |Think C |
|00001270| 73 6f 75 72 63 65 20 66 | 69 6c 65 0d 09 41 63 74 |source f|ile..Act|
|00001280| 69 6f 6e 0d 09 09 41 6e | 20 65 61 73 79 20 77 61 |ion...An| easy wa|
|00001290| 79 20 74 6f 20 63 72 65 | 61 74 65 20 61 20 6e 65 |y to cre|ate a ne|
|000012a0| 77 20 73 6f 75 72 63 65 | 20 66 69 6c 65 20 77 69 |w source| file wi|
|000012b0| 74 68 20 74 68 65 20 63 | 6f 72 72 65 63 74 20 74 |th the c|orrect t|
|000012c0| 79 70 65 20 61 6e 64 20 | 63 72 65 61 74 6f 72 20 |ype and |creator |
|000012d0| 66 6f 72 20 75 73 65 20 | 77 69 74 68 20 54 68 69 |for use |with Thi|
|000012e0| 6e 6b 20 43 2e 0d 09 09 | 50 72 6f 6d 70 74 73 20 |nk C....|Prompts |
|000012f0| 69 66 20 74 68 65 20 66 | 69 6c 65 20 61 6c 72 65 |if the f|ile alre|
|00001300| 61 64 79 20 65 78 69 73 | 74 73 0d 09 45 78 61 6d |ady exis|ts..Exam|
|00001310| 70 6c 65 73 0d 09 09 54 | 68 69 6e 6b 48 65 6c 70 |ples...T|hinkHelp|
|00001320| 65 72 2e 63 72 65 61 74 | 65 53 6f 75 72 63 65 46 |er.creat|eSourceF|
|00001330| 69 6c 65 28 22 62 69 67 | 7a 3a 42 6f 72 69 6e 67 |ile("big|z:Boring|
|00001340| 43 6c 61 73 73 2e 68 22 | 29 0d 09 09 09 74 72 75 |Class.h"|)....tru|
|00001350| 65 0d 54 68 69 6e 6b 48 | 65 6c 70 65 72 2e 67 65 |e.ThinkH|elper.ge|
|00001360| 74 4d 61 72 6b 65 72 0d | 09 53 79 6e 74 61 78 0d |tMarker.|.Syntax.|
|00001370| 09 09 54 68 69 6e 6b 48 | 65 6c 70 65 72 2e 67 65 |..ThinkH|elper.ge|
|00001380| 74 4d 61 72 6b 65 72 28 | 6d 61 72 6b 65 72 4e 61 |tMarker(|markerNa|
|00001390| 6d 65 29 0d 09 50 61 72 | 61 6d 65 74 65 72 73 0d |me)..Par|ameters.|
|000013a0| 09 09 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 61 20 |..the na|me of a |
|000013b0| 6d 61 72 6b 65 72 20 70 | 72 65 73 75 6d 65 64 20 |marker p|resumed |
|000013c0| 74 6f 20 65 78 69 73 74 | 20 69 6e 20 74 68 65 20 |to exist| in the |
|000013d0| 66 69 6c 65 0d 09 09 74 | 68 65 20 61 64 64 72 65 |file...t|he addre|
|000013e0| 73 73 20 6f 66 20 61 20 | 76 61 72 69 61 62 6c 65 |ss of a |variable|
|000013f0| 20 74 6f 20 68 6f 6c 64 | 20 74 68 65 20 73 74 61 | to hold| the sta|
|00001400| 72 74 20 61 6e 64 20 65 | 6e 64 20 6f 66 20 74 68 |rt and e|nd of th|
|00001410| 65 20 6d 61 72 6b 65 72 | 73 20 73 65 6c 65 63 74 |e marker|s select|
|00001420| 69 6f 6e 0d 09 41 63 74 | 69 6f 6e 0d 09 09 66 69 |ion..Act|ion...fi|
|00001430| 6e 64 73 20 74 68 65 20 | 67 69 76 65 6e 20 6d 61 |nds the |given ma|
|00001440| 72 6b 65 72 20 69 6e 20 | 74 68 65 20 74 61 72 67 |rker in |the targ|
|00001450| 65 74 20 77 69 6e 64 6f | 77 20 61 6e 64 20 72 65 |et windo|w and re|
|00001460| 74 75 72 6e 73 20 69 74 | 73 20 70 6f 73 69 74 69 |turns it|s positi|
|00001470| 6f 6e 0d 09 52 65 74 75 | 72 6e 73 0d 09 09 74 68 |on..Retu|rns...th|
|00001480| 65 20 73 74 61 72 74 20 | 61 6e 64 20 65 6e 64 20 |e start |and end |
|00001490| 73 65 6c 65 63 74 69 6f | 6e 73 2c 20 77 68 69 63 |selectio|ns, whic|
|000014a0| 68 20 77 69 6c 6c 20 62 | 65 20 7b 20 30 2c 20 30 |h will b|e { 0, 0|
|000014b0| 20 7d 20 69 66 20 74 68 | 65 20 6d 61 72 6b 65 72 | } if th|e marker|
|000014c0| 20 64 6f 65 73 6e 74 20 | 65 78 69 73 74 0d 09 45 | doesnt |exist..E|
|000014d0| 78 61 6d 70 6c 65 73 0d | 09 09 6c 6f 63 61 6c 20 |xamples.|..local |
|000014e0| 28 73 65 6c 53 74 61 72 | 74 2c 20 73 65 6c 45 6e |(selStar|t, selEn|
|000014f0| 64 29 0d 09 09 54 68 69 | 6e 6b 48 65 6c 70 65 72 |d)...Thi|nkHelper|
|00001500| 2e 67 65 74 4d 61 72 6b | 65 72 28 22 66 72 65 64 |.getMark|er("fred|
|00001510| 22 2c 20 40 73 65 6c 53 | 74 61 72 74 2c 20 40 73 |", @selS|tart, @s|
|00001520| 65 6c 45 6e 64 29 0d 09 | 09 54 68 69 6e 6b 48 65 |elEnd)..|.ThinkHe|
|00001530| 6c 70 65 72 2e 73 65 74 | 53 65 6c 65 63 74 69 6f |lper.set|Selectio|
|00001540| 6e 28 73 65 6c 53 74 61 | 72 74 2c 20 73 65 6c 45 |n(selSta|rt, selE|
|00001550| 6e 64 29 20 c7 ca 6d 61 | 6b 65 20 69 74 20 76 69 |nd) ..ma|ke it vi|
|00001560| 73 69 62 6c 65 20 69 6e | 20 74 68 65 20 77 69 6e |sible in| the win|
|00001570| 64 6f 77 0d 09 53 65 65 | 20 41 6c 73 6f 0d 09 09 |dow..See| Also...|
|00001580| 54 68 69 6e 6b 48 65 6c | 70 65 72 2e 6d 61 72 6b |ThinkHel|per.mark|
|00001590| 53 65 6c 65 63 74 69 6f | 6e 0d 54 68 69 6e 6b 48 |Selectio|n.ThinkH|
|000015a0| 65 6c 70 65 72 2e 67 65 | 74 54 61 72 67 65 74 50 |elper.ge|tTargetP|
|000015b0| 61 74 68 0d 09 53 79 6e | 74 61 78 0d 09 09 54 68 |ath..Syn|tax...Th|
|000015c0| 69 6e 6b 48 65 6c 70 65 | 72 2e 67 65 74 54 61 72 |inkHelpe|r.getTar|
|000015d0| 67 65 74 50 61 74 68 28 | 29 0d 09 50 61 72 61 6d |getPath(|)..Param|
|000015e0| 65 74 65 72 73 0d 09 09 | 4e 6f 6e 65 2e 0d 09 41 |eters...|None...A|
|000015f0| 63 74 69 6f 6e 0d 09 09 | 72 65 74 75 72 6e 73 20 |ction...|returns |
|00001600| 74 68 65 20 46 53 53 70 | 65 63 20 6f 66 20 74 68 |the FSSp|ec of th|
|00001610| 65 20 74 61 72 67 65 74 | 20 77 69 6e 64 6f 77 0d |e target| window.|
|00001620| 09 45 78 61 6d 70 6c 65 | 73 0d 09 09 54 68 69 6e |.Example|s...Thin|
|00001630| 6b 48 65 6c 70 65 72 2e | 67 65 74 54 61 72 67 65 |kHelper.|getTarge|
|00001640| 74 50 61 74 68 28 29 0d | 09 09 09 62 69 67 7a 3a |tPath().|...bigz:|
|00001650| 44 65 76 3a 54 68 69 6e | 6b 48 65 6c 70 65 72 3a |Dev:Thin|kHelper:|
|00001660| 53 6f 75 72 63 65 3a 4c | 69 73 74 54 6f 6f 6c 73 |Source:L|istTools|
|00001670| 2e 63 0d 54 68 69 6e 6b | 48 65 6c 70 65 72 2e 67 |.c.Think|Helper.g|
|00001680| 65 74 57 69 6e 64 6f 77 | 54 65 78 74 0d 09 53 79 |etWindow|Text..Sy|
|00001690| 6e 74 61 78 0d 09 09 54 | 68 69 6e 6b 48 65 6c 70 |ntax...T|hinkHelp|
|000016a0| 65 72 2e 67 65 74 57 69 | 6e 64 6f 77 54 65 78 74 |er.getWi|ndowText|
|000016b0| 28 29 0d 09 50 61 72 61 | 6d 65 74 65 72 73 0d 09 |()..Para|meters..|
|000016c0| 09 4e 6f 6e 65 0d 09 41 | 63 74 69 6f 6e 0d 09 09 |.None..A|ction...|
|000016d0| 72 65 74 75 72 6e 73 20 | 61 20 63 6f 70 79 20 6f |returns |a copy o|
|000016e0| 66 20 74 68 65 20 63 6f | 6e 74 65 6e 74 73 20 6f |f the co|ntents o|
|000016f0| 66 20 74 68 65 20 74 61 | 72 67 65 74 20 77 69 6e |f the ta|rget win|
|00001700| 64 6f 77 0d 09 52 65 74 | 75 72 6e 73 0d 09 09 61 |dow..Ret|urns...a|
|00001710| 20 74 65 78 74 20 73 74 | 72 69 6e 67 0d 09 45 78 | text st|ring..Ex|
|00001720| 61 6d 70 6c 65 73 0d 09 | 09 54 68 69 6e 6b 48 65 |amples..|.ThinkHe|
|00001730| 6c 70 65 72 2e 67 65 74 | 57 69 6e 64 6f 77 54 65 |lper.get|WindowTe|
|00001740| 78 74 28 29 0d 09 09 09 | 66 6f 72 74 75 6e 61 74 |xt()....|fortunat|
|00001750| 65 6c 79 2c 20 74 68 69 | 73 20 69 73 20 61 20 73 |ely, thi|s is a s|
|00001760| 68 6f 72 74 20 66 69 6c | 65 21 0d 54 68 69 6e 6b |hort fil|e!.Think|
|00001770| 48 65 6c 70 65 72 2e 70 | 61 73 74 65 54 65 78 74 |Helper.p|asteText|
|00001780| 0d 09 53 79 6e 74 61 78 | 0d 09 09 54 68 69 6e 6b |..Syntax|...Think|
|00001790| 48 65 6c 70 65 72 2e 70 | 61 73 74 65 54 65 78 74 |Helper.p|asteText|
|000017a0| 28 74 65 78 74 54 6f 49 | 6e 73 65 72 74 29 0d 09 |(textToI|nsert)..|
|000017b0| 50 61 72 61 6d 65 74 65 | 72 73 0d 09 09 61 20 73 |Paramete|rs...a s|
|000017c0| 74 72 69 6e 67 20 74 6f | 20 69 6e 73 65 72 74 20 |tring to| insert |
|000017d0| 61 74 20 28 6f 72 20 6f | 76 65 72 29 20 74 68 65 |at (or o|ver) the|
|000017e0| 20 63 75 72 72 65 6e 74 | 20 73 65 6c 65 63 74 69 | current| selecti|
|000017f0| 6f 6e 0d 09 41 63 74 69 | 6f 6e 0d 09 09 69 66 20 |on..Acti|on...if |
|00001800| 74 68 65 20 63 75 72 72 | 65 6e 74 20 73 65 6c 65 |the curr|ent sele|
|00001810| 63 74 69 6f 6e 20 65 78 | 69 73 74 73 2c 20 69 74 |ction ex|ists, it|
|00001820| 20 69 73 20 64 65 6c 65 | 74 65 64 2e 20 20 74 65 | is dele|ted. te|
|00001830| 78 74 54 6f 49 6e 73 65 | 72 74 20 69 73 20 69 6e |xtToInse|rt is in|
|00001840| 73 65 72 74 65 64 20 69 | 6e 20 69 74 73 20 70 6c |serted i|n its pl|
|00001850| 61 63 65 2e 0d 09 45 78 | 61 6d 70 6c 65 73 0d 09 |ace...Ex|amples..|
|00001860| 09 54 68 69 6e 6b 48 65 | 6c 70 65 72 2e 73 65 74 |.ThinkHe|lper.set|
|00001870| 53 65 6c 65 63 74 69 6f | 6e 28 30 2c 20 30 29 20 |Selectio|n(0, 0) |
|00001880| c7 ca 74 6f 70 20 6f 66 | 20 66 69 6c 65 0d 09 09 |..top of| file...|
|00001890| 54 68 69 6e 6b 48 65 6c | 70 65 72 2e 70 61 73 74 |ThinkHel|per.past|
|000018a0| 65 54 65 78 74 28 22 23 | 69 6e 63 6c 75 64 65 20 |eText("#|include |
|000018b0| 3c 4e 65 77 46 69 6c 65 | 2e 68 3e 22 20 2b 20 63 |<NewFile|.h>" + c|
|000018c0| 72 29 20 c7 ca 61 74 20 | 74 68 65 20 74 6f 70 20 |r) ..at |the top |
|000018d0| 6f 66 20 74 68 69 73 20 | 66 69 6c 65 0d 54 68 69 |of this |file.Thi|
|000018e0| 6e 6b 48 65 6c 70 65 72 | 2e 67 65 74 53 65 6c 65 |nkHelper|.getSele|
|000018f0| 63 74 69 6f 6e 0d 09 53 | 79 6e 74 61 78 0d 09 09 |ction..S|yntax...|
|00001900| 54 68 69 6e 6b 48 65 6c | 70 65 72 2e 67 65 74 53 |ThinkHel|per.getS|
|00001910| 65 6c 65 63 74 69 6f 6e | 28 73 65 6c 53 74 61 72 |election|(selStar|
|00001920| 74 2c 20 73 65 6c 45 6e | 64 29 0d 09 50 61 72 61 |t, selEn|d)..Para|
|00001930| 6d 65 74 65 72 73 0d 09 | 09 4e 6f 6e 65 2e 0d 09 |meters..|.None...|
|00001940| 41 63 74 69 6f 6e 0d 09 | 09 72 65 74 75 72 6e 73 |Action..|.returns|
|00001950| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 73 65 6c | the cur|rent sel|
|00001960| 65 63 74 69 6f 6e 20 70 | 6f 73 69 74 69 6f 6e 73 |ection p|ositions|
|00001970| 20 69 6e 20 73 65 6c 53 | 74 61 72 74 20 61 6e 64 | in selS|tart and|
|00001980| 20 73 65 6c 45 6e 64 0d | 09 53 65 65 20 41 6c 73 | selEnd.|.See Als|
|00001990| 6f 0d 09 09 54 68 69 6e | 6b 48 65 6c 70 65 72 2e |o...Thin|kHelper.|
|000019a0| 73 65 74 53 65 6c 65 63 | 74 69 6f 6e 0d 54 68 69 |setSelec|tion.Thi|
|000019b0| 6e 6b 48 65 6c 70 65 72 | 2e 73 65 74 53 65 6c 65 |nkHelper|.setSele|
|000019c0| 63 74 69 6f 6e 0d 09 53 | 79 6e 74 61 78 0d 09 09 |ction..S|yntax...|
|000019d0| 54 68 69 6e 6b 48 65 6c | 70 65 72 2e 73 65 74 53 |ThinkHel|per.setS|
|000019e0| 65 6c 65 63 74 69 6f 6e | 28 73 65 6c 53 74 61 72 |election|(selStar|
|000019f0| 74 2c 20 73 65 6c 45 6e | 64 29 0d 09 50 61 72 61 |t, selEn|d)..Para|
|00001a00| 6d 65 74 65 72 73 0d 09 | 09 44 65 73 69 72 65 64 |meters..|.Desired|
|00001a10| 20 73 74 61 72 74 69 6e | 67 20 61 6e 64 20 65 6e | startin|g and en|
|00001a20| 64 69 6e 67 20 73 65 6c | 65 63 74 69 6f 6e 2c 20 |ding sel|ection, |
|00001a30| 69 6e 64 65 78 65 64 20 | 66 72 6f 6d 20 74 68 65 |indexed |from the|
|00001a40| 20 62 65 67 69 6e 69 6e | 67 20 6f 66 20 74 68 65 | beginin|g of the|
|00001a50| 20 74 61 72 67 65 74 20 | 73 6f 75 72 63 65 20 66 | target |source f|
|00001a60| 69 6c 65 2e 0d 09 09 54 | 68 69 6e 6b 48 65 6c 70 |ile....T|hinkHelp|
|00001a70| 65 72 2e 73 65 74 53 65 | 6c 65 63 74 69 6f 6e 28 |er.setSe|lection(|
|00001a80| 30 2c 30 29 20 73 65 74 | 73 20 74 68 65 20 69 6e |0,0) set|s the in|
|00001a90| 73 65 72 74 69 6f 6e 20 | 70 6f 69 6e 74 20 74 6f |sertion |point to|
|00001aa0| 20 70 6f 69 6e 74 20 62 | 65 66 6f 72 65 20 74 68 | point b|efore th|
|00001ab0| 65 20 66 69 72 73 74 20 | 63 68 61 72 61 63 74 65 |e first |characte|
|00001ac0| 72 20 69 6e 20 74 68 65 | 20 66 69 6c 65 2e 0d 09 |r in the| file...|
|00001ad0| 41 63 74 69 6f 6e 0d 09 | 09 53 65 74 73 20 74 68 |Action..|.Sets th|
|00001ae0| 65 20 63 75 72 72 65 6e | 74 20 73 65 6c 65 63 74 |e curren|t select|
|00001af0| 69 6f 6e 20 6f 66 20 74 | 68 65 20 63 75 72 72 65 |ion of t|he curre|
|00001b00| 6e 74 20 54 68 69 6e 6b | 20 50 72 6f 6a 65 63 74 |nt Think| Project|
|00001b10| 20 4d 61 6e 61 67 65 72 | 20 64 6f 63 75 6d 65 6e | Manager| documen|
|00001b20| 74 20 74 6f 20 74 68 65 | 20 73 70 65 63 69 66 69 |t to the| specifi|
|00001b30| 65 64 20 73 74 61 72 74 | 2f 65 6e 64 20 70 61 69 |ed start|/end pai|
|00001b40| 72 2e 0d 09 45 78 61 6d | 70 6c 65 73 0d 09 09 54 |r...Exam|ples...T|
|00001b50| 68 69 6e 6b 48 65 6c 70 | 65 72 2e 73 65 74 53 65 |hinkHelp|er.setSe|
|00001b60| 6c 65 63 74 69 6f 6e 28 | 31 30 30 2c 20 32 30 30 |lection(|100, 200|
|00001b70| 29 0d 09 09 09 74 72 75 | 65 0d 09 53 65 65 20 41 |)....tru|e..See A|
|00001b80| 6c 73 6f 0d 09 09 54 68 | 69 6e 6b 48 65 6c 70 65 |lso...Th|inkHelpe|
|00001b90| 72 2e 67 65 74 53 65 6c | 65 63 74 69 6f 6e 0d 54 |r.getSel|ection.T|
|00001ba0| 68 69 6e 6b 48 65 6c 70 | 65 72 2e 73 68 6f 72 74 |hinkHelp|er.short|
|00001bb0| 44 61 74 65 0d 09 53 79 | 6e 74 61 78 0d 09 09 54 |Date..Sy|ntax...T|
|00001bc0| 68 69 6e 6b 48 65 6c 70 | 65 72 2e 73 68 6f 72 74 |hinkHelp|er.short|
|00001bd0| 44 61 74 65 28 29 0d 09 | 50 61 72 61 6d 65 74 65 |Date()..|Paramete|
|00001be0| 72 73 0d 09 09 4e 6f 6e | 65 2e 0d 09 41 63 74 69 |rs...Non|e...Acti|
|00001bf0| 6f 6e 0d 09 09 72 65 74 | 75 72 6e 73 20 61 20 74 |on...ret|urns a t|
|00001c00| 65 78 74 20 73 74 72 69 | 6e 67 20 6f 66 20 74 68 |ext stri|ng of th|
|00001c10| 65 20 63 75 72 72 65 6e | 74 20 64 61 74 65 2c 20 |e curren|t date, |
|00001c20| 69 6e 20 74 68 65 20 66 | 6f 72 6d 61 74 20 22 6d |in the f|ormat "m|
|00001c30| 6d 2f 64 64 2f 79 79 22 | 2e 0d 09 52 65 74 75 72 |m/dd/yy"|...Retur|
|00001c40| 6e 73 0d 09 09 61 20 73 | 74 72 69 6e 67 0d 09 45 |ns...a s|tring..E|
|00001c50| 78 61 6d 70 6c 65 73 0d | 09 09 54 68 69 6e 6b 48 |xamples.|..ThinkH|
|00001c60| 65 6c 70 65 72 2e 73 68 | 6f 72 74 44 61 74 65 28 |elper.sh|ortDate(|
|00001c70| 29 0d 09 09 09 30 35 2f | 32 33 2f 39 33 0d 54 68 |)....05/|23/93.Th|
|00001c80| 69 6e 6b 48 65 6c 70 65 | 72 2e 73 65 74 54 61 72 |inkHelpe|r.setTar|
|00001c90| 67 65 74 50 6f 73 0d 09 | 53 79 6e 74 61 78 0d 09 |getPos..|Syntax..|
|00001ca0| 09 54 68 69 6e 6b 48 65 | 6c 70 65 72 2e 73 65 74 |.ThinkHe|lper.set|
|00001cb0| 54 61 72 67 65 74 50 6f | 73 28 78 2c 20 79 2c 20 |TargetPo|s(x, y, |
|00001cc0| 77 2c 20 68 29 0d 09 50 | 61 72 61 6d 65 74 65 72 |w, h)..P|arameter|
|00001cd0| 73 0d 09 09 78 20 61 6e | 64 20 79 20 63 6f 6f 72 |s...x an|d y coor|
|00001ce0| 64 69 6e 61 74 65 73 20 | 66 6f 72 20 74 68 65 20 |dinates |for the |
|00001cf0| 74 6f 70 6c 65 66 74 20 | 6f 66 20 74 68 65 20 74 |topleft |of the t|
|00001d00| 61 72 67 65 74 20 77 69 | 6e 64 6f 77 2c 20 69 6e |arget wi|ndow, in|
|00001d10| 20 67 6c 6f 62 61 6c 20 | 63 6f 6f 72 64 69 6e 61 | global |coordina|
|00001d20| 74 65 73 0d 09 09 77 69 | 64 74 68 20 61 6e 64 20 |tes...wi|dth and |
|00001d30| 68 65 69 67 68 74 20 6f | 66 20 74 68 65 20 74 61 |height o|f the ta|
|00001d40| 72 67 65 74 20 77 69 6e | 64 6f 77 0d 09 41 63 74 |rget win|dow..Act|
|00001d50| 69 6f 6e 0d 09 09 6d 6f | 76 65 73 20 61 6e 64 20 |ion...mo|ves and |
|00001d60| 72 65 73 69 7a 65 73 20 | 74 68 65 20 74 61 72 67 |resizes |the targ|
|00001d70| 65 74 20 77 69 6e 64 6f | 77 0d 09 52 65 74 75 72 |et windo|w..Retur|
|00001d80| 6e 73 0d 09 09 4e 6f 6e | 65 0d 09 45 78 61 6d 70 |ns...Non|e..Examp|
|00001d90| 6c 65 73 0d 09 09 54 68 | 69 6e 6b 48 65 6c 70 65 |les...Th|inkHelpe|
|00001da0| 72 2e 73 65 74 54 61 72 | 67 65 74 50 6f 73 28 31 |r.setTar|getPos(1|
|00001db0| 30 30 2c 20 31 30 30 2c | 20 32 30 30 2c 20 32 30 |00, 100,| 200, 20|
|00001dc0| 30 29 0d 09 09 09 74 72 | 75 65 0d 54 68 69 6e 6b |0)....tr|ue.Think|
|00001dd0| 48 65 6c 70 65 72 2e 63 | 61 6c 6c 4d 65 6e 75 49 |Helper.c|allMenuI|
|00001de0| 74 65 6d 0d 09 53 79 6e | 74 61 78 0d 09 09 54 68 |tem..Syn|tax...Th|
|00001df0| 69 6e 6b 48 65 6c 70 65 | 72 2e 63 61 6c 6c 4d 65 |inkHelpe|r.callMe|
|00001e00| 6e 75 49 74 65 6d 28 6d | 65 6e 75 49 74 65 6d 4e |nuItem(m|enuItemN|
|00001e10| 61 6d 65 29 0d 09 50 61 | 72 61 6d 65 74 65 72 73 |ame)..Pa|rameters|
|00001e20| 0d 09 09 61 20 53 74 72 | 69 6e 67 20 63 6f 6e 74 |...a Str|ing cont|
|00001e30| 61 69 6e 69 6e 67 20 74 | 68 65 20 66 75 6c 6c 20 |aining t|he full |
|00001e40| 20 74 65 78 74 20 6f 66 | 20 61 20 54 68 69 6e 6b | text of| a Think|
|00001e50| 20 50 72 6f 6a 65 63 74 | 20 4d 61 6e 61 67 65 72 | Project| Manager|
|00001e60| 20 6d 65 6e 75 20 69 74 | 65 6d 2e 0d 09 41 63 74 | menu it|em...Act|
|00001e70| 69 6f 6e 0d 09 09 49 66 | 20 61 20 6d 65 6e 75 20 |ion...If| a menu |
|00001e80| 69 74 65 6d 20 77 69 74 | 68 20 74 68 69 73 20 6e |item wit|h this n|
|00001e90| 61 6d 65 20 65 78 69 73 | 74 73 20 61 6e 64 20 69 |ame exis|ts and i|
|00001ea0| 73 20 63 75 72 72 65 6e | 74 6c 79 20 65 6e 61 62 |s curren|tly enab|
|00001eb0| 6c 65 64 2c 20 54 50 4d | 20 69 73 20 74 72 69 63 |led, TPM| is tric|
|00001ec0| 6b 65 64 20 69 6e 74 6f | 20 63 61 6c 6c 69 6e 67 |ked into| calling|
|00001ed0| 20 74 68 61 74 20 69 74 | 65 6d 2e 0d 09 09 49 66 | that it|em....If|
|00001ee0| 20 74 68 65 20 69 74 65 | 6d 20 69 73 6e 27 74 20 | the ite|m isn't |
|00001ef0| 65 6e 61 62 6c 65 64 2c | 20 74 68 69 73 20 68 61 |enabled,| this ha|
|00001f00| 73 20 6e 6f 20 65 66 66 | 65 63 74 2e 0d 09 52 65 |s no eff|ect...Re|
|00001f10| 74 75 72 6e 73 0d 09 09 | 4e 6f 6e 65 0d 09 45 78 |turns...|None..Ex|
|00001f20| 61 6d 70 6c 65 73 0d 09 | 09 54 68 69 6e 6b 48 65 |amples..|.ThinkHe|
|00001f30| 6c 70 65 72 2e 63 61 6c | 6c 4d 65 6e 75 49 74 65 |lper.cal|lMenuIte|
|00001f40| 6d 28 22 43 6c 6f 73 65 | 22 29 0d 09 09 09 74 72 |m("Close|")....tr|
|00001f50| 75 65 0d 09 09 54 68 69 | 6e 6b 48 65 6c 70 65 72 |ue...Thi|nkHelper|
|00001f60| 2e 63 61 6c 6c 4d 65 6e | 75 49 74 65 6d 28 22 41 |.callMen|uItem("A|
|00001f70| 62 6f 75 74 20 54 48 49 | 4e 4b 20 50 72 6f 6a 65 |bout THI|NK Proje|
|00001f80| 63 74 20 4d 61 6e 61 67 | 65 72 c9 22 29 ca c7 ca |ct Manag|er.")...|
|00001f90| 6e 6f 74 65 20 6f 70 74 | 69 6f 6e 2d 3b 20 63 68 |note opt|ion-; ch|
|00001fa0| 61 72 61 63 74 65 72 0d | 09 09 09 74 72 75 65 0d |aracter.|...true.|
|00001fb0| 09 09 54 68 69 6e 6b 48 | 65 6c 70 65 72 2e 63 61 |..ThinkH|elper.ca|
|00001fc0| 6c 6c 4d 65 6e 75 49 74 | 65 6d 28 22 53 61 76 65 |llMenuIt|em("Save|
|00001fd0| 20 41 6c 6c 22 29 0d 09 | 09 09 74 72 75 65 0d 80 | All")..|..true..|
|00001fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002020| 00 04 00 00 00 00 00 80 | 00 00 00 00 00 00 00 00 |........|........|
|00002030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002060| 00 00 00 00 00 00 00 00 | 00 04 00 00 00 00 00 00 |........|........|
|00002070| 00 00 00 00 00 00 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00002080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 04 00 00 |........|........|
|000020c0| 00 00 00 00 00 00 00 00 | 00 04 00 00 00 00 00 80 |........|........|
|000020d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002100| 00 00 00 00 00 00 00 00 | 00 00 00 04 00 00 00 00 |........|........|
|00002110| 00 80 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002170| 00 80 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021a0| 00 00 00 00 00 00 00 04 | 00 00 00 00 00 80 00 00 |........|........|
|000021b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 04 |........|........|
|000021f0| 00 00 00 00 00 80 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002230| 00 80 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002260| 00 00 00 00 00 00 00 80 | 00 00 00 00 00 00 00 00 |........|........|
|00002270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022a0| 00 00 00 04 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022b0| 00 00 00 00 00 80 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022f0| 00 00 00 00 00 00 00 04 | 00 00 00 00 00 80 00 00 |........|........|
|00002300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002340| 00 00 00 00 00 04 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00002350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002390| 00 00 00 04 00 00 00 00 | 00 00 00 00 00 00 00 04 |........|........|
|000023a0| 00 00 00 00 00 00 00 00 | 00 00 00 04 00 00 00 00 |........|........|
|000023b0| 00 08 65 78 61 6d 70 6c | 65 73 00 00 58 f8 00 01 |..exampl|es..X...|
|000023c0| 03 e8 00 00 58 56 00 00 | 00 8c 00 00 00 00 0d 01 |....XV..|........|
|000023d0| 00 00 00 0e 00 00 04 28 | 0d 01 00 00 04 3a 00 00 |.......(|.....:..|
|000023e0| 0b 0c 0d 01 00 00 0b 1b | 00 00 0e 40 0d 01 00 00 |........|...@....|
|000023f0| 0e 50 00 00 14 4a 0d 01 | 00 00 14 5a 00 00 16 61 |.P...J..|...Z...a|
|00002400| 0d 01 00 00 16 70 00 00 | 30 bb 0d 01 00 00 30 c9 |.....p..|0.....0.|
|00002410| 00 00 37 ad 0d 01 00 00 | 37 bc 00 00 3b d4 0d 01 |..7.....|7...;...|
|00002420| 00 00 3b e0 00 00 3d be | 0d 01 00 00 3d cd 00 00 |..;...=.|....=...|
|00002430| 3e c3 0d 01 00 00 3e d1 | 00 00 3f d7 0d 01 00 00 |>.....>.|..?.....|
|00002440| 3f e1 00 00 44 25 0d 01 | 00 00 44 2e 00 00 53 61 |?...D%..|..D...Sa|
|00002450| 0d 01 00 00 53 6f 0d 63 | 61 6e 63 65 6c 43 75 72 |....So.c|ancelCur|
|00002460| 72 65 6e 74 00 00 04 16 | 00 01 04 e8 00 02 00 00 |rent....|........|
|00002470| 00 8a 00 00 03 10 00 09 | 02 00 00 0f 06 47 65 6e |........|.....Gen|
|00002480| 65 76 61 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |eva.....|........|
|00002490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 09 |........|........|
|000024a0| 00 00 00 00 00 00 00 00 | 00 00 06 54 00 00 a8 4b |........|...T...K|
|000024b0| 7e b8 a8 55 d7 c4 00 00 | 00 09 80 00 00 76 03 7a |~..U....|.....v.z|
|000024c0| 02 94 05 f8 4c 41 4e 44 | 00 00 00 00 00 00 00 00 |....LAND|........|
|000024d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024e0| 00 00 00 00 6f 6e 20 63 | 61 6e 63 65 6c 43 75 72 |....on c|ancelCur|
|000024f0| 72 65 6e 74 28 29 0d 09 | 6c 6f 63 61 6c 0d 09 09 |rent()..|local...|
|00002500| 66 72 6f 6e 74 46 69 6c | 65 20 3d 20 54 68 69 6e |frontFil|e = Thin|
|00002510| 6b 48 65 6c 70 65 72 2e | 67 65 74 54 61 72 67 65 |kHelper.|getTarge|
|00002520| 74 50 61 74 68 28 29 0d | 09 09 66 72 6f 6e 74 46 |tPath().|..frontF|
|00002530| 69 6c 65 4e 61 6d 65 20 | 3d 20 66 69 6c 65 2e 66 |ileName |= file.f|
|00002540| 69 6c 65 46 72 6f 6d 50 | 61 74 68 28 66 72 6f 6e |ileFromP|ath(fron|
|00002550| 74 46 69 6c 65 29 0d 09 | 09 70 72 6f 6a 65 63 74 |tFile)..|.project|
|00002560| 4e 61 6d 65 0d 09 0d 09 | 69 66 20 21 20 66 69 6c |Name....|if ! fil|
|00002570| 65 2e 65 78 69 73 74 73 | 28 66 72 6f 6e 74 46 69 |e.exists|(frontFi|
|00002580| 6c 65 29 0d 09 09 73 63 | 72 69 70 74 45 72 72 6f |le)...sc|riptErro|
|00002590| 72 28 22 46 69 6c 65 20 | 22 20 2b 20 66 72 6f 6e |r("File |" + fron|
|000025a0| 74 46 69 6c 65 20 2b 20 | 22 64 6f 65 73 6e 27 74 |tFile + |"doesn't|
|000025b0| 20 73 65 65 6d 20 74 6f | 20 65 78 69 73 74 2e 2e | seem to| exist..|
|000025c0| 2e 22 29 0d 09 09 0d 09 | 70 72 6f 6a 65 63 74 4e |.").....|projectN|
|000025d0| 61 6d 65 20 3d 20 54 68 | 69 6e 6b 48 65 6c 70 65 |ame = Th|inkHelpe|
|000025e0| 72 2e 65 78 61 6d 70 6c | 65 73 2e 70 72 6f 6a 65 |r.exampl|es.proje|
|000025f0| 63 74 46 72 6f 6d 46 69 | 6c 65 28 66 72 6f 6e 74 |ctFromFi|le(front|
|00002600| 46 69 6c 65 29 0d 09 0d | 09 6d 73 67 28 22 63 61 |File)...|.msg("ca|
|00002610| 6e 63 65 6c 20 63 68 65 | 63 6b 6f 75 74 20 22 20 |ncel che|ckout " |
|00002620| 2b 20 66 72 6f 6e 74 46 | 69 6c 65 4e 61 6d 65 20 |+ frontF|ileName |
|00002630| 2b 20 22 20 66 72 6f 6d | 20 22 20 2b 20 66 69 6c |+ " from| " + fil|
|00002640| 65 2e 66 69 6c 65 46 72 | 6f 6d 50 61 74 68 28 70 |e.fileFr|omPath(p|
|00002650| 72 6f 6a 65 63 74 4e 61 | 6d 65 29 29 0d 09 69 66 |rojectNa|me))..if|
|00002660| 20 21 20 64 69 61 6c 6f | 67 2e 79 65 73 6e 6f 28 | ! dialo|g.yesno(|
|00002670| 22 41 72 65 20 79 6f 75 | 20 73 75 72 65 20 79 6f |"Are you| sure yo|
|00002680| 75 20 77 61 6e 74 20 74 | 6f 20 63 61 6e 63 65 6c |u want t|o cancel|
|00002690| 20 63 68 65 63 6b 6f 75 | 74 20 6f 66 20 22 20 2b | checkou|t of " +|
|000026a0| 20 66 72 6f 6e 74 46 69 | 6c 65 4e 61 6d 65 29 0d | frontFi|leName).|
|000026b0| 09 09 73 63 72 69 70 74 | 45 72 72 6f 72 28 22 63 |..script|Error("c|
|000026c0| 61 6e 63 65 6c 20 63 68 | 65 63 6b 6f 75 74 20 6f |ancel ch|eckout o|
|000026d0| 66 20 22 20 2b 20 66 72 | 6f 6e 74 46 69 6c 65 20 |f " + fr|ontFile |
|000026e0| 2b 20 22 20 61 62 6f 72 | 74 65 64 2e 22 29 0d 09 |+ " abor|ted.")..|
|000026f0| 54 68 69 6e 6b 2e 62 72 | 69 6e 67 54 6f 46 72 6f |Think.br|ingToFro|
|00002700| 6e 74 28 29 0d 09 0d 09 | 63 6c 6f 73 65 20 74 68 |nt()....|close th|
|00002710| 65 20 66 69 6c 65 20 74 | 68 61 74 20 74 68 65 20 |e file t|hat the |
|00002720| 75 73 65 72 20 68 61 73 | 20 6f 70 65 6e 0d 09 54 |user has| open..T|
|00002730| 68 69 6e 6b 48 65 6c 70 | 65 72 2e 63 6c 6f 73 65 |hinkHelp|er.close|
|00002740| 54 61 72 67 65 74 57 69 | 6e 64 6f 77 28 29 0d 09 |TargetWi|ndow()..|
|00002750| 77 69 74 68 20 53 6f 75 | 72 63 65 53 65 72 76 65 |with Sou|rceServe|
|00002760| 72 0d 09 09 6d 6f 75 6e | 74 50 72 6f 6a 65 63 74 |r...moun|tProject|
|00002770| 28 70 72 6f 6a 65 63 74 | 4e 61 6d 65 29 0d 09 09 |(project|Name)...|
|00002780| 63 68 65 63 6b 4f 75 74 | 44 69 72 28 66 69 6c 65 |checkOut|Dir(file|
|00002790| 2e 66 6f 6c 64 65 72 46 | 72 6f 6d 50 61 74 68 28 |.folderF|romPath(|
|000027a0| 66 72 6f 6e 74 46 69 6c | 65 29 29 0d 09 09 63 61 |frontFil|e))...ca|
|000027b0| 6e 63 65 6c 43 68 65 63 | 6b 6f 75 74 28 66 72 6f |ncelChec|kout(fro|
|000027c0| 6e 74 46 69 6c 65 4e 61 | 6d 65 29 0d 09 54 68 69 |ntFileNa|me)..Thi|
|000027d0| 6e 6b 48 65 6c 70 65 72 | 2e 73 65 74 54 61 72 67 |nkHelper|.setTarg|
|000027e0| 65 74 57 69 6e 64 6f 77 | 28 66 72 6f 6e 74 46 69 |etWindow|(frontFi|
|000027f0| 6c 65 29 0d 80 00 00 00 | 00 00 80 00 00 00 00 00 |le).....|........|
|00002800| 80 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|00002810| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|00002820| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00002830| 80 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|00002840| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|00002850| 00 00 00 00 84 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00002860| 80 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|00002870| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 11 63 |........|.......c|
|00002880| 68 65 63 6b 69 6e 41 6c | 6c 53 6f 75 72 63 65 73 |heckinAl|lSources|
|00002890| 00 00 06 ce 00 01 04 e8 | 00 02 00 00 00 ea 00 00 |........|........|
|000028a0| 05 68 00 10 02 00 00 0f | 06 47 65 6e 65 76 61 00 |.h......|.Geneva.|
|000028b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028c0| 00 00 00 00 00 00 00 00 | 00 00 00 09 00 00 00 00 |........|........|
|000028d0| 00 00 00 00 00 00 06 54 | 00 00 a8 10 20 11 a8 55 |.......T|.... ..U|
|000028e0| d5 55 00 00 00 10 00 00 | 00 3a 05 12 03 5a 07 2e |.U......|.:...Z..|
|000028f0| 4c 41 4e 44 00 00 00 00 | 00 00 00 00 00 00 00 00 |LAND....|........|
|00002900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002910| 63 68 65 63 6b 69 6e 20 | 61 6c 6c 20 63 68 65 63 |checkin |all chec|
|00002920| 6b 65 64 20 6f 75 74 20 | 66 69 6c 65 73 20 66 72 |ked out |files fr|
|00002930| 6f 6d 65 61 63 68 20 70 | 72 6f 6a 65 63 74 0d 09 |omeach p|roject..|
|00002940| 54 68 69 73 20 76 69 73 | 69 74 73 20 65 61 63 68 |This vis|its each|
|00002950| 20 53 75 62 50 72 6f 6a | 65 63 74 20 69 6e 20 74 | SubProj|ect in t|
|00002960| 68 65 20 50 72 6f 6a 65 | 63 74 20 46 6f 6c 64 65 |he Proje|ct Folde|
|00002970| 72 0d 09 61 6e 64 20 6d | 6f 75 6e 74 73 20 74 68 |r..and m|ounts th|
|00002980| 61 74 20 70 72 6f 6a 65 | 63 74 20 2d 20 69 74 20 |at proje|ct - it |
|00002990| 74 68 65 6e 20 63 68 65 | 63 6b 73 20 69 6e 20 61 |then che|cks in a|
|000029a0| 6c 6c 20 66 69 6c 65 73 | 20 74 68 61 74 20 61 72 |ll files| that ar|
|000029b0| 65 0d 09 63 68 65 63 6b | 65 64 20 6f 75 74 20 62 |e..check|ed out b|
|000029c0| 79 20 79 6f 75 20 66 6f | 72 20 6d 6f 64 69 66 69 |y you fo|r modifi|
|000029d0| 63 61 74 69 6f 6e 2e 20 | 20 49 74 20 65 78 70 65 |cation. | It expe|
|000029e0| 63 74 73 20 74 6f 20 66 | 69 6e 64 20 61 20 68 69 |cts to f|ind a hi|
|000029f0| 65 72 61 72 63 68 79 20 | 6c 69 6b 65 20 74 68 69 |erarchy |like thi|
|00002a00| 73 3a 0d 09 64 65 76 3a | 50 72 6f 6a 65 63 74 6f |s:..dev:|Projecto|
|00002a10| 72 44 61 74 61 62 61 73 | 65 73 3a 4d 79 52 65 61 |rDatabas|es:MyRea|
|00002a20| 6c 6c 79 42 69 67 50 72 | 6f 6a 65 63 74 3a 0d 09 |llyBigPr|oject:..|
|00002a30| 09 3a 4d 79 52 65 61 6c | 6c 79 42 69 67 50 72 6f |.:MyReal|lyBigPro|
|00002a40| 6a 65 63 74 3a 54 6f 6f | 6c 73 50 72 6f 6a 65 63 |ject:Too|lsProjec|
|00002a50| 74 0d 09 09 3a 4d 79 52 | 65 61 6c 6c 79 42 69 67 |t...:MyR|eallyBig|
|00002a60| 50 72 6f 6a 65 63 74 3a | 46 6f 6f 6c 73 50 72 6f |Project:|FoolsPro|
|00002a70| 6a 65 63 74 0d 09 09 3a | 4d 79 52 65 61 6c 6c 79 |ject...:|MyReally|
|00002a80| 42 69 67 50 72 6f 6a 65 | 63 74 3a 47 6f 75 6c 73 |BigProje|ct:Gouls|
|00002a90| 50 72 6f 6a 65 63 74 0d | 09 6f 72 69 6e 64 61 3a |Project.|.orinda:|
|00002aa0| 73 6f 75 72 63 65 3a 4d | 79 52 65 61 6c 6c 79 42 |source:M|yReallyB|
|00002ab0| 69 67 41 70 70 6c 69 63 | 61 74 69 6f 6e 3a 0d 09 |igApplic|ation:..|
|00002ac0| 09 3a 4d 79 52 65 61 6c | 6c 79 42 69 67 41 70 70 |.:MyReal|lyBigApp|
|00002ad0| 6c 69 63 61 74 69 6f 6e | 3a 54 6f 6f 6c 73 0d 09 |lication|:Tools..|
|00002ae0| 09 3a 4d 79 52 65 61 6c | 6c 79 42 69 67 41 70 70 |.:MyReal|lyBigApp|
|00002af0| 6c 69 63 61 74 69 6f 6e | 3a 54 6f 6f 6c 73 0d 09 |lication|:Tools..|
|00002b00| 09 3a 4d 79 52 65 61 6c | 6c 79 42 69 67 41 70 70 |.:MyReal|lyBigApp|
|00002b10| 6c 69 63 61 74 69 6f 6e | 3a 46 6f 6f 6c 73 0d 09 |lication|:Fools..|
|00002b20| 09 3a 4d 79 52 65 61 6c | 6c 79 42 69 67 41 70 70 |.:MyReal|lyBigApp|
|00002b30| 6c 69 63 61 74 69 6f 6e | 3a 47 6f 6f 6c 73 0d 6f |lication|:Gools.o|
|00002b40| 6e 20 63 68 65 63 6b 69 | 6e 41 6c 6c 53 6f 75 72 |n checki|nAllSour|
|00002b50| 63 65 73 28 70 61 74 68 | 54 6f 50 72 6f 6a 65 63 |ces(path|ToProjec|
|00002b60| 74 29 0d 09 6c 6f 63 61 | 6c 20 28 70 72 6f 6a 65 |t)..loca|l (proje|
|00002b70| 63 74 29 0d 09 6c 6f 63 | 61 6c 20 28 64 73 74 46 |ct)..loc|al (dstF|
|00002b80| 6f 6c 64 65 72 29 0d 09 | 6c 6f 63 61 6c 20 28 6c |older)..|local (l|
|00002b90| 6f 63 61 6c 53 72 63 73 | 20 3d 20 66 69 6c 65 2e |ocalSrcs| = file.|
|00002ba0| 66 6f 6c 64 65 72 66 72 | 6f 6d 70 61 74 68 20 28 |folderfr|ompath (|
|00002bb0| 67 65 74 20 28 70 72 6f | 6a 65 63 74 20 5b 31 5d |get (pro|ject [1]|
|00002bc0| 2e 70 46 53 53 70 65 63 | 29 29 29 0d 09 6f 6e 20 |.pFSSpec|)))..on |
|00002bd0| 63 68 65 63 6b 69 6e 56 | 69 73 69 74 28 66 69 6c |checkinV|isit(fil|
|00002be0| 65 4e 61 6d 65 29 0d 09 | 09 6d 73 67 28 22 43 68 |eName)..|.msg("Ch|
|00002bf0| 65 63 6b 69 6e 67 20 69 | 6e 20 22 20 2b 20 66 69 |ecking i|n " + fi|
|00002c00| 6c 65 4e 61 6d 65 29 0d | 09 09 74 72 79 0d 09 09 |leName).|..try...|
|00002c10| 09 53 6f 75 72 63 65 53 | 65 72 76 65 72 2e 63 68 |.SourceS|erver.ch|
|00002c20| 65 63 6b 49 6e 46 69 6c | 65 28 64 73 74 46 6f 6c |eckInFil|e(dstFol|
|00002c30| 64 65 72 20 2b 20 66 69 | 6c 65 4e 61 6d 65 2c 20 |der + fi|leName, |
|00002c40| 22 22 29 0d 09 09 65 6c | 73 65 0d 09 09 09 6d 73 |"")...el|se....ms|
|00002c50| 67 28 22 23 23 23 20 45 | 52 52 4f 52 3a 22 20 2b |g("### E|RROR:" +|
|00002c60| 20 20 66 69 6c 65 4e 61 | 6d 65 20 2b 20 22 20 23 | fileNa|me + " #|
|00002c70| 23 23 22 29 0d 09 09 72 | 65 74 75 72 6e 20 74 72 |##")...r|eturn tr|
|00002c80| 75 65 0d 09 66 69 6c 65 | 6c 6f 6f 70 20 28 66 20 |ue..file|loop (f |
|00002c90| 69 6e 20 70 61 74 68 54 | 6f 50 72 6f 6a 65 63 74 |in pathT|oProject|
|00002ca0| 29 0d 09 09 69 66 20 66 | 69 6c 65 2e 69 73 46 6f |)...if f|ile.isFo|
|00002cb0| 6c 64 65 72 28 66 29 0d | 09 09 09 77 69 74 68 20 |lder(f).|...with |
|00002cc0| 53 6f 75 72 63 65 53 65 | 72 76 65 72 0d 09 09 09 |SourceSe|rver....|
|00002cd0| 09 62 75 6e 64 6c 65 0d | 09 09 09 09 09 6c 6f 63 |.bundle.|.....loc|
|00002ce0| 61 6c 20 28 75 70 64 61 | 74 69 6e 67 53 74 72 69 |al (upda|tingStri|
|00002cf0| 6e 67 20 3d 20 22 63 68 | 65 63 6b 69 6e 67 20 69 |ng = "ch|ecking i|
|00002d00| 6e 20 22 20 2b 20 66 69 | 6c 65 2e 66 69 6c 65 46 |n " + fi|le.fileF|
|00002d10| 72 6f 6d 50 61 74 68 28 | 66 29 20 2d 20 22 3a 22 |romPath(|f) - ":"|
|00002d20| 29 0d 09 09 09 09 09 6d | 73 67 28 75 70 64 61 74 |)......m|sg(updat|
|00002d30| 69 6e 67 53 74 72 69 6e | 67 29 0d 09 09 09 09 09 |ingStrin|g)......|
|00002d40| 70 6f 73 74 52 65 73 75 | 6c 74 28 63 72 20 2b 20 |postResu|lt(cr + |
|00002d50| 22 23 23 23 20 22 20 2b | 20 75 70 64 61 74 69 6e |"### " +| updatin|
|00002d60| 67 53 74 72 69 6e 67 20 | 2b 20 22 20 61 74 20 22 |gString |+ " at "|
|00002d70| 20 2b 20 63 6c 6f 63 6b | 2e 6e 6f 77 28 29 20 2b | + clock|.now() +|
|00002d80| 20 63 72 29 0d 09 09 09 | 09 6d 6f 75 6e 74 50 72 | cr)....|.mountPr|
|00002d90| 6f 6a 65 63 74 28 66 29 | 0d 09 09 09 09 6d 61 6b |oject(f)|.....mak|
|00002da0| 65 20 73 75 72 65 20 74 | 68 65 20 66 6f 6c 64 65 |e sure t|he folde|
|00002db0| 72 20 65 78 69 73 74 73 | 0d 09 09 09 09 64 73 74 |r exists|.....dst|
|00002dc0| 46 6f 6c 64 65 72 20 3d | 20 6c 6f 63 61 6c 53 72 |Folder =| localSr|
|00002dd0| 63 73 20 2b 20 66 69 6c | 65 2e 66 69 6c 65 46 72 |cs + fil|e.fileFr|
|00002de0| 6f 6d 50 61 74 68 28 66 | 29 20 2d 20 22 50 72 6f |omPath(f|) - "Pro|
|00002df0| 6a 65 63 74 22 0d 09 09 | 09 09 69 66 20 21 20 66 |ject"...|..if ! f|
|00002e00| 69 6c 65 2e 65 78 69 73 | 74 73 28 64 73 74 46 6f |ile.exis|ts(dstFo|
|00002e10| 6c 64 65 72 29 0d 09 09 | 09 09 09 63 6f 6e 74 69 |lder)...|...conti|
|00002e20| 6e 75 65 0d 09 09 09 09 | 63 68 65 63 6b 6f 75 74 |nue.....|checkout|
|00002e30| 44 69 72 28 64 73 74 46 | 6f 6c 64 65 72 29 0d 09 |Dir(dstF|older)..|
|00002e40| 09 09 09 76 69 73 69 74 | 50 72 6f 6a 65 63 74 46 |...visit|ProjectF|
|00002e50| 69 6c 65 73 28 74 72 75 | 65 2c 20 40 63 68 65 63 |iles(tru|e, @chec|
|00002e60| 6b 69 6e 56 69 73 69 74 | 29 0d 09 72 65 74 75 72 |kinVisit|)..retur|
|00002e70| 6e 20 74 72 75 65 3b 0d | 84 00 00 00 00 00 80 00 |n true;.|........|
|00002e80| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00002e90| 80 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|00002ea0| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|00002eb0| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00002ec0| 80 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|00002ed0| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|00002ee0| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00002ef0| 80 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|00002f00| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|00002f10| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00002f20| 80 00 00 00 00 00 84 00 | 00 00 00 00 80 00 00 00 |........|........|
|00002f30| 00 00 80 00 00 00 00 00 | 84 00 00 00 00 00 80 00 |........|........|
|00002f40| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00002f50| 80 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|00002f60| 00 00 0e 63 68 65 63 6b | 49 6e 43 75 72 72 65 6e |...check|InCurren|
|00002f70| 74 00 00 03 21 00 01 04 | e8 00 02 00 00 00 6c 00 |t...!...|......l.|
|00002f80| 00 02 39 00 00 02 00 00 | 0f 06 47 65 6e 65 76 61 |..9.....|..Geneva|
|00002f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 09 00 00 00 |........|........|
|00002fb0| 00 00 00 00 00 00 00 06 | 54 00 00 a8 31 6f 6a a8 |........|T...1oj.|
|00002fc0| 55 d3 e3 00 00 00 09 00 | 00 00 50 00 55 01 e0 02 |U.......|..P.U...|
|00002fd0| 80 4c 41 4e 44 00 00 00 | 00 00 00 00 00 00 00 00 |.LAND...|........|
|00002fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ff0| 00 6f 6e 20 63 68 65 63 | 6b 49 6e 43 75 72 72 65 |.on chec|kInCurre|
|00003000| 6e 74 28 29 0d 09 6c 6f | 63 61 6c 0d 09 09 66 72 |nt()..lo|cal...fr|
|00003010| 6f 6e 74 46 69 6c 65 20 | 3d 20 54 68 69 6e 6b 48 |ontFile |= ThinkH|
|00003020| 65 6c 70 65 72 2e 67 65 | 74 54 61 72 67 65 74 50 |elper.ge|tTargetP|
|00003030| 61 74 68 28 29 0d 09 09 | 66 72 6f 6e 74 46 69 6c |ath()...|frontFil|
|00003040| 65 4e 61 6d 65 20 3d 20 | 66 69 6c 65 2e 66 69 6c |eName = |file.fil|
|00003050| 65 46 72 6f 6d 50 61 74 | 68 28 66 72 6f 6e 74 46 |eFromPat|h(frontF|
|00003060| 69 6c 65 29 0d 09 09 70 | 72 6f 6a 65 63 74 4e 61 |ile)...p|rojectNa|
|00003070| 6d 65 0d 09 69 66 20 21 | 20 66 69 6c 65 2e 65 78 |me..if !| file.ex|
|00003080| 69 73 74 73 28 66 72 6f | 6e 74 46 69 6c 65 29 0d |ists(fro|ntFile).|
|00003090| 09 09 73 63 72 69 70 74 | 45 72 72 6f 72 28 22 46 |..script|Error("F|
|000030a0| 69 6c 65 20 22 20 2b 20 | 66 72 6f 6e 74 46 69 6c |ile " + |frontFil|
|000030b0| 65 20 2b 20 22 64 6f 65 | 73 6e 27 74 20 73 65 65 |e + "doe|sn't see|
|000030c0| 6d 20 74 6f 20 65 78 69 | 73 74 2e 2e 2e 22 29 0d |m to exi|st...").|
|000030d0| 09 09 0d 09 70 72 6f 6a | 65 63 74 4e 61 6d 65 20 |....proj|ectName |
|000030e0| 3d 20 54 68 69 6e 6b 48 | 65 6c 70 65 72 2e 65 78 |= ThinkH|elper.ex|
|000030f0| 61 6d 70 6c 65 73 2e 70 | 72 6f 6a 65 63 74 46 72 |amples.p|rojectFr|
|00003100| 6f 6d 46 69 6c 65 28 66 | 72 6f 6e 74 46 69 6c 65 |omFile(f|rontFile|
|00003110| 29 0d 09 0d 09 6d 73 67 | 28 22 63 68 65 63 6b 69 |)....msg|("checki|
|00003120| 6e 67 20 69 6e 20 22 20 | 2b 20 66 72 6f 6e 74 46 |ng in " |+ frontF|
|00003130| 69 6c 65 4e 61 6d 65 20 | 2b 20 22 20 66 72 6f 6d |ileName |+ " from|
|00003140| 20 22 20 2b 20 66 69 6c | 65 2e 66 69 6c 65 46 72 | " + fil|e.fileFr|
|00003150| 6f 6d 50 61 74 68 28 70 | 72 6f 6a 65 63 74 4e 61 |omPath(p|rojectNa|
|00003160| 6d 65 29 29 0d 09 0d 09 | 54 68 69 6e 6b 48 65 6c |me))....|ThinkHel|
|00003170| 70 65 72 2e 63 6c 6f 73 | 65 54 61 72 67 65 74 57 |per.clos|eTargetW|
|00003180| 69 6e 64 6f 77 28 29 0d | 09 77 69 74 68 20 53 6f |indow().|.with So|
|00003190| 75 72 63 65 53 65 72 76 | 65 72 0d 09 09 6d 6f 75 |urceServ|er...mou|
|000031a0| 6e 74 50 72 6f 6a 65 63 | 74 28 70 72 6f 6a 65 63 |ntProjec|t(projec|
|000031b0| 74 4e 61 6d 65 29 0d 09 | 09 63 68 65 63 6b 4f 75 |tName)..|.checkOu|
|000031c0| 74 44 69 72 28 66 69 6c | 65 2e 66 6f 6c 64 65 72 |tDir(fil|e.folder|
|000031d0| 46 72 6f 6d 50 61 74 68 | 28 66 72 6f 6e 74 46 69 |FromPath|(frontFi|
|000031e0| 6c 65 29 29 0d 09 09 63 | 68 65 63 6b 49 6e 46 69 |le))...c|heckInFi|
|000031f0| 6c 65 28 66 72 6f 6e 74 | 46 69 6c 65 2c 20 22 22 |le(front|File, ""|
|00003200| 29 0d 09 54 68 69 6e 6b | 48 65 6c 70 65 72 2e 73 |)..Think|Helper.s|
|00003210| 65 74 54 61 72 67 65 74 | 57 69 6e 64 6f 77 28 66 |etTarget|Window(f|
|00003220| 72 6f 6e 74 46 69 6c 65 | 29 0d 80 00 00 00 00 00 |rontFile|).......|
|00003230| 80 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|00003240| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|00003250| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00003260| 80 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|00003270| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|00003280| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00003290| 80 00 00 00 00 00 0f 63 | 68 65 63 6b 6f 75 74 43 |.......c|heckoutC|
|000032a0| 75 72 72 65 6e 74 00 00 | 05 f6 00 01 04 e8 00 02 |urrent..|........|
|000032b0| 00 00 00 cc 00 00 04 ae | 00 16 02 00 00 0f 06 4d |........|.......M|
|000032c0| 6f 6e 61 63 6f 00 00 00 | 00 00 00 00 00 00 00 00 |onaco...|........|
|000032d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032e0| 00 09 00 00 00 00 00 00 | 00 00 00 00 06 54 00 00 |........|.....T..|
|000032f0| a8 31 5c 63 a8 55 d3 4b | 00 00 00 15 00 00 00 90 |.1\c.U.K|........|
|00003300| 03 49 03 1b 06 1b 4c 41 | 4e 44 00 00 00 00 00 00 |.I....LA|ND......|
|00003310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003320| 00 00 00 00 00 00 6f 6e | 20 63 68 65 63 6b 6f 75 |......on| checkou|
|00003330| 74 43 75 72 72 65 6e 74 | 28 70 72 6f 6d 70 74 29 |tCurrent|(prompt)|
|00003340| 0d 09 63 68 65 63 6b 6f | 75 74 20 74 68 65 20 63 |..checko|ut the c|
|00003350| 75 72 72 65 6e 74 20 66 | 69 6c 65 20 69 6e 20 61 |urrent f|ile in a|
|00003360| 20 63 6f 72 72 6f 73 70 | 6f 6e 64 69 6e 67 20 50 | corrosp|onding P|
|00003370| 72 6f 6a 65 63 74 6f 72 | 20 64 61 74 61 62 61 73 |rojector| databas|
|00003380| 65 0d 09 6c 6f 63 61 6c | 0d 09 09 66 72 6f 6e 74 |e..local|...front|
|00003390| 46 69 6c 65 20 3d 20 54 | 68 69 6e 6b 48 65 6c 70 |File = T|hinkHelp|
|000033a0| 65 72 2e 67 65 74 54 61 | 72 67 65 74 50 61 74 68 |er.getTa|rgetPath|
|000033b0| 28 29 0d 09 09 66 72 6f | 6e 74 46 69 6c 65 4e 61 |()...fro|ntFileNa|
|000033c0| 6d 65 20 3d 20 66 69 6c | 65 2e 66 69 6c 65 46 72 |me = fil|e.fileFr|
|000033d0| 6f 6d 50 61 74 68 28 66 | 72 6f 6e 74 46 69 6c 65 |omPath(f|rontFile|
|000033e0| 29 0d 09 09 70 72 6f 6a | 65 63 74 4e 61 6d 65 0d |)...proj|ectName.|
|000033f0| 09 0d 09 69 66 20 21 20 | 66 69 6c 65 2e 65 78 69 |...if ! |file.exi|
|00003400| 73 74 73 28 66 72 6f 6e | 74 46 69 6c 65 29 0d 09 |sts(fron|tFile)..|
|00003410| 09 73 63 72 69 70 74 45 | 72 72 6f 72 28 22 46 69 |.scriptE|rror("Fi|
|00003420| 6c 65 20 22 20 2b 20 66 | 72 6f 6e 74 46 69 6c 65 |le " + f|rontFile|
|00003430| 20 2b 20 22 64 6f 65 73 | 6e 27 74 20 73 65 65 6d | + "does|n't seem|
|00003440| 20 74 6f 20 65 78 69 73 | 74 2e 2e 2e 22 29 0d 09 | to exis|t...")..|
|00003450| 09 0d 09 62 75 6e 64 6c | 65 20 c7 ca 73 65 65 20 |...bundl|e ..see |
|00003460| 69 66 20 74 68 65 20 63 | 6f 6f 6c 20 6d 61 72 6b |if the c|ool mark|
|00003470| 65 72 20 65 78 69 73 74 | 73 0d 09 09 6c 6f 63 61 |er exist|s...loca|
|00003480| 6c 20 28 6d 61 72 6b 53 | 74 61 72 74 2c 20 6d 61 |l (markS|tart, ma|
|00003490| 72 6b 45 6e 64 29 0d 09 | 09 54 68 69 6e 6b 48 65 |rkEnd)..|.ThinkHe|
|000034a0| 6c 70 65 72 2e 67 65 74 | 4d 61 72 6b 65 72 28 22 |lper.get|Marker("|
|000034b0| 25 25 43 4f 4d 4d 45 4e | 54 25 25 22 2c 20 40 6d |%%COMMEN|T%%", @m|
|000034c0| 61 72 6b 53 74 61 72 74 | 2c 20 40 6d 61 72 6b 45 |arkStart|, @markE|
|000034d0| 6e 64 29 0d 09 09 69 66 | 20 6d 61 72 6b 53 74 61 |nd)...if| markSta|
|000034e0| 72 74 20 3d 3d 20 30 0d | 09 09 09 73 63 72 69 70 |rt == 0.|...scrip|
|000034f0| 74 45 72 72 6f 72 28 22 | 70 6c 61 63 65 20 61 20 |tError("|place a |
|00003500| 25 25 43 4f 4d 4d 45 4e | 54 25 25 20 6d 61 72 6b |%%COMMEN|T%% mark|
|00003510| 65 72 20 61 74 20 74 68 | 65 20 74 6f 70 21 22 29 |er at th|e top!")|
|00003520| 0d 09 09 09 0d 09 09 09 | 0d 09 70 72 6f 6a 65 63 |........|..projec|
|00003530| 74 4e 61 6d 65 20 3d 20 | 54 68 69 6e 6b 48 65 6c |tName = |ThinkHel|
|00003540| 70 65 72 2e 65 78 61 6d | 70 6c 65 73 2e 70 72 6f |per.exam|ples.pro|
|00003550| 6a 65 63 74 46 72 6f 6d | 46 69 6c 65 28 66 72 6f |jectFrom|File(fro|
|00003560| 6e 74 46 69 6c 65 29 0d | 09 0d 09 6d 73 67 28 22 |ntFile).|...msg("|
|00003570| 63 68 65 63 6b 69 6e 67 | 20 6f 75 74 20 22 20 2b |checking| out " +|
|00003580| 20 66 72 6f 6e 74 46 69 | 6c 65 4e 61 6d 65 20 2b | frontFi|leName +|
|00003590| 20 22 20 66 72 6f 6d 20 | 22 20 2b 20 66 69 6c 65 | " from |" + file|
|000035a0| 2e 66 69 6c 65 46 72 6f | 6d 50 61 74 68 28 66 6f |.fileFro|mPath(fo|
|000035b0| 6c 64 65 72 4e 61 6d 65 | 29 29 0d 09 0d 09 69 66 |lderName|))....if|
|000035c0| 20 70 72 6f 6d 70 74 0d | 09 09 69 66 20 21 20 64 | prompt.|..if ! d|
|000035d0| 69 61 6c 6f 67 2e 61 73 | 6b 28 22 43 6f 6d 6d 65 |ialog.as|k("Comme|
|000035e0| 6e 74 20 66 6f 72 20 22 | 20 2b 20 66 72 6f 6e 74 |nt for "| + front|
|000035f0| 46 69 6c 65 4e 61 6d 65 | 2c 20 40 70 65 6f 70 6c |FileName|, @peopl|
|00003600| 65 2e 5b 75 73 65 72 2e | 69 6e 69 74 69 61 6c 73 |e.[user.|initials|
|00003610| 5d 2e 63 68 65 63 6b 6f | 75 74 43 6f 6d 6d 65 6e |].checko|utCommen|
|00003620| 74 29 0d 09 09 09 73 63 | 72 69 70 74 45 72 72 6f |t)....sc|riptErro|
|00003630| 72 28 22 63 68 65 63 6b | 6f 75 74 20 6f 66 20 22 |r("check|out of "|
|00003640| 20 2b 20 66 72 6f 6e 74 | 46 69 6c 65 20 2b 20 22 | + front|File + "|
|00003650| 20 61 62 6f 72 74 65 64 | 2e 22 29 0d 09 54 68 69 | aborted|.")..Thi|
|00003660| 6e 6b 2e 62 72 69 6e 67 | 54 6f 46 72 6f 6e 74 28 |nk.bring|ToFront(|
|00003670| 29 0d 09 0d 09 63 6c 6f | 73 65 20 74 68 65 20 66 |)....clo|se the f|
|00003680| 69 6c 65 20 74 68 61 74 | 20 74 68 65 20 75 73 65 |ile that| the use|
|00003690| 72 20 68 61 73 20 6f 70 | 65 6e 0d 09 54 68 69 6e |r has op|en..Thin|
|000036a0| 6b 48 65 6c 70 65 72 2e | 63 6c 6f 73 65 54 61 72 |kHelper.|closeTar|
|000036b0| 67 65 74 57 69 6e 64 6f | 77 28 29 0d 09 77 69 74 |getWindo|w()..wit|
|000036c0| 68 20 53 6f 75 72 63 65 | 53 65 72 76 65 72 0d 09 |h Source|Server..|
|000036d0| 09 6d 6f 75 6e 74 50 72 | 6f 6a 65 63 74 28 70 72 |.mountPr|oject(pr|
|000036e0| 6f 6a 65 63 74 4e 61 6d | 65 29 0d 09 09 63 68 65 |ojectNam|e)...che|
|000036f0| 63 6b 4f 75 74 44 69 72 | 28 66 69 6c 65 2e 66 6f |ckOutDir|(file.fo|
|00003700| 6c 64 65 72 46 72 6f 6d | 50 61 74 68 28 66 72 6f |lderFrom|Path(fro|
|00003710| 6e 74 46 69 6c 65 29 29 | 0d 09 09 63 68 65 63 6b |ntFile))|...check|
|00003720| 4f 75 74 46 69 6c 65 28 | 66 72 6f 6e 74 46 69 6c |OutFile(|frontFil|
|00003730| 65 4e 61 6d 65 2c 20 70 | 65 6f 70 6c 65 2e 5b 75 |eName, p|eople.[u|
|00003740| 73 65 72 2e 69 6e 69 74 | 69 61 6c 73 5d 2e 63 68 |ser.init|ials].ch|
|00003750| 65 63 6b 6f 75 74 43 6f | 6d 6d 65 6e 74 29 0d 09 |eckoutCo|mment)..|
|00003760| 54 68 69 6e 6b 48 65 6c | 70 65 72 2e 73 65 74 54 |ThinkHel|per.setT|
|00003770| 61 72 67 65 74 57 69 6e | 64 6f 77 28 66 72 6f 6e |argetWin|dow(fron|
|00003780| 74 46 69 6c 65 29 0d 09 | 54 68 69 6e 6b 48 65 6c |tFile)..|ThinkHel|
|00003790| 70 65 72 2e 65 78 61 6d | 70 6c 65 73 2e 61 64 64 |per.exam|ples.add|
|000037a0| 55 73 65 72 43 6f 6d 6d | 65 6e 74 28 70 65 6f 70 |UserComm|ent(peop|
|000037b0| 6c 65 2e 5b 75 73 65 72 | 2e 69 6e 69 74 69 61 6c |le.[user|.initial|
|000037c0| 73 5d 2e 63 68 65 63 6b | 6f 75 74 43 6f 6d 6d 65 |s].check|outComme|
|000037d0| 6e 74 29 0d 80 00 00 00 | 00 00 84 00 00 00 00 00 |nt).....|........|
|000037e0| 80 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|000037f0| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|00003800| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00003810| 80 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|00003820| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|00003830| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00003840| 80 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|00003850| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|00003860| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00003870| 84 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|00003880| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|00003890| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|000038a0| 0f 70 72 6f 6a 65 63 74 | 46 72 6f 6d 46 69 6c 65 |.project|FromFile|
|000038b0| 00 00 02 03 00 01 04 e8 | 00 02 00 00 00 30 00 00 |........|.....0..|
|000038c0| 01 57 00 06 02 00 00 0f | 06 47 65 6e 65 76 61 00 |.W......|.Geneva.|
|000038d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038e0| 00 00 00 00 00 00 00 00 | 00 00 00 09 00 00 00 00 |........|........|
|000038f0| 00 00 00 00 00 00 06 54 | 00 00 a8 55 d2 2c a8 55 |.......T|...U.,.U|
|00003900| d2 b5 00 00 00 01 00 00 | 00 96 00 7f 01 5e 02 00 |........|.....^..|
|00003910| 4c 41 4e 44 00 00 00 00 | 00 00 00 00 00 00 00 00 |LAND....|........|
|00003920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003930| 59 6f 75 27 6c 6c 20 6e | 65 65 64 20 74 6f 20 63 |You'll n|eed to c|
|00003940| 75 73 74 6f 6d 69 7a 65 | 20 74 68 69 73 20 66 6f |ustomize| this fo|
|00003950| 72 20 79 6f 75 72 20 70 | 72 6f 6a 65 63 74 6f 72 |r your p|rojector|
|00003960| 20 73 65 74 75 70 0d 6f | 6e 20 70 72 6f 6a 65 63 | setup.o|n projec|
|00003970| 74 46 72 6f 6d 46 69 6c | 65 28 66 69 6c 65 4e 61 |tFromFil|e(fileNa|
|00003980| 6d 65 29 0d 09 4f 6e 65 | 20 77 61 79 20 74 6f 20 |me)..One| way to |
|00003990| 64 6f 20 69 74 20 77 6f | 75 6c 64 20 62 65 20 74 |do it wo|uld be t|
|000039a0| 6f 20 68 61 76 65 20 61 | 20 74 61 62 6c 65 20 6f |o have a| table o|
|000039b0| 66 20 72 6f 6f 74 20 70 | 61 74 68 73 20 74 6f 20 |f root p|aths to |
|000039c0| 70 72 6f 6a 65 63 74 73 | 0d 09 09 73 75 63 68 20 |projects|...such |
|000039d0| 74 68 61 74 3a 0d 09 09 | 22 64 65 76 3a 43 65 6e |that:...|"dev:Cen|
|000039e0| 74 69 70 65 64 65 3a 47 | 61 6d 65 53 70 72 69 74 |tipede:G|ameSprit|
|000039f0| 65 73 2e 63 22 2c 20 79 | 6f 75 20 77 6f 75 6c 64 |es.c", y|ou would|
|00003a00| 20 6c 6f 6f 6b 20 75 70 | 0d 09 09 22 64 65 76 3a | look up|..."dev:|
|00003a10| 43 65 6e 74 69 70 65 64 | 65 3a 22 20 69 6e 20 79 |Centiped|e:" in y|
|00003a20| 6f 75 72 20 74 61 62 6c | 65 2c 20 77 68 69 63 68 |our tabl|e, which|
|00003a30| 20 77 6f 75 6c 64 20 72 | 65 74 75 72 6e 3a 0d 09 | would r|eturn:..|
|00003a40| 09 22 64 65 76 3a 50 72 | 6f 6a 65 63 74 6f 72 44 |."dev:Pr|ojectorD|
|00003a50| 61 74 61 62 61 73 65 73 | 3a 43 65 6e 74 69 70 65 |atabases|:Centipe|
|00003a60| 64 65 50 72 6f 6a 65 63 | 74 22 0d 09 72 65 74 75 |deProjec|t"..retu|
|00003a70| 72 6e 20 22 64 65 76 3a | 73 61 6d 70 6c 65 50 72 |rn "dev:|samplePr|
|00003a80| 6f 6a 65 63 74 22 0d 84 | 00 00 00 00 00 80 00 00 |oject"..|........|
|00003a90| 00 00 00 84 00 00 00 00 | 00 80 00 00 00 00 00 80 |........|........|
|00003aa0| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00003ab0| 00 80 00 00 00 00 00 0e | 63 6f 6f 6c 20 6d 65 6e |........|cool men|
|00003ac0| 75 73 20 34 20 55 00 00 | 1a 47 00 01 05 e8 00 00 |us 4 U..|.G......|
|00003ad0| 03 3a 00 01 00 18 21 59 | 00 00 00 0a 00 0a 00 6e |.:....!Y|.......n|
|00003ae0| 02 f1 02 8e 06 03 00 00 | 00 00 00 12 06 47 65 6e |........|.....Gen|
|00003af0| 65 76 61 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |eva.....|........|
|00003b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 09 |........|........|
|00003b10| 00 36 00 11 01 3a 01 29 | 00 00 00 00 00 00 00 00 |.6...:.)|........|
|00003b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b40| 00 00 00 02 00 00 01 28 | 00 00 01 2a 00 12 02 00 |.......(|...*....|
|00003b50| 00 0f 07 43 68 69 63 61 | 67 6f 00 00 00 00 00 00 |...Chica|go......|
|00003b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b70| 00 00 00 00 00 0c 00 00 | 00 00 00 0a 00 0a 00 00 |........|........|
|00003b80| 06 54 00 00 a8 55 d0 cc | a8 98 56 4e 00 00 00 18 |.T...U..|..VN....|
|00003b90| 00 00 00 96 00 7f 01 5e | 02 00 4c 41 4e 44 00 00 |.......^|..LAND..|
|00003ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bb0| 00 00 00 00 00 00 00 00 | 00 00 48 65 6c 70 65 72 |........|..Helper|
|00003bc0| 0d 09 4e 65 77 20 43 6c | 61 73 73 c9 0d 09 41 64 |..New Cl|ass...Ad|
|00003bd0| 64 20 48 65 61 64 65 72 | 0d 09 4d 61 72 6b 20 a4 |d Header|..Mark .|
|00003be0| 20 66 6f 72 20 63 6f 6d | 6d 65 6e 74 0d 09 49 6e | for com|ment..In|
|00003bf0| 73 65 72 74 20 73 68 6f | 72 74 44 61 74 65 0d 09 |sert sho|rtDate..|
|00003c00| 55 70 70 65 72 63 61 73 | 65 20 a4 0d 09 4f 70 65 |Uppercas|e ...Ope|
|00003c10| 6e 20 2e 68 20 6f 72 20 | 2e 63 70 20 46 69 6c 65 |n .h or |.cp File|
|00003c20| 0d 09 2d 0d 09 43 68 65 | 63 6b 6f 75 74 20 43 75 |..-..Che|ckout Cu|
|00003c30| 72 72 65 6e 74 c9 0d 09 | 43 68 65 63 6b 6f 75 74 |rrent...|Checkout|
|00003c40| 20 43 75 72 72 65 6e 74 | 20 41 67 61 69 6e 0d 09 | Current| Again..|
|00003c50| 43 68 65 63 6b 69 6e 20 | 43 75 72 72 65 6e 74 0d |Checkin |Current.|
|00003c60| 09 43 68 65 63 6b 69 6e | 20 41 6c 6c 0d 09 43 68 |.Checkin| All..Ch|
|00003c70| 65 63 6b 6f 75 74 20 26 | 20 52 65 62 75 69 6c 64 |eckout &| Rebuild|
|00003c80| 0d 09 43 61 6e 63 65 6c | 20 43 68 65 63 6b 6f 75 |..Cancel| Checkou|
|00003c90| 74 0d 09 43 68 65 63 6b | 6f 75 74 20 49 6e 20 2e |t..Check|out In .|
|00003ca0| b9 20 4c 69 73 74 0d 09 | 2d 0d 09 50 6f 70 75 6c |. List..|-..Popul|
|00003cb0| 61 74 65 20 50 72 6f 6a | 65 63 74 0d 09 2d 0d 09 |ate Proj|ect..-..|
|00003cc0| 4c 65 66 74 20 4d 6f 6e | 69 74 6f 72 0d 09 4c 65 |Left Mon|itor..Le|
|00003cd0| 66 74 20 4d 61 69 6e 0d | 09 52 69 67 68 74 20 4d |ft Main.|.Right M|
|00003ce0| 61 69 6e 0d 80 00 00 00 | 00 00 80 00 00 00 00 0a |ain.....|........|
|00003cf0| 00 00 00 01 52 10 00 00 | 00 00 80 00 00 00 00 0a |....R...|........|
|00003d00| 00 00 00 16 7b 79 00 00 | 00 00 80 00 00 00 00 0a |....{y..|........|
|00003d10| 00 00 00 19 5b 44 00 00 | 00 00 80 00 00 00 00 0a |....[D..|........|
|00003d20| 2a 00 00 1b c1 78 00 00 | 00 00 80 00 00 00 00 0a |*....x..|........|
|00003d30| 00 00 00 13 18 53 00 00 | 00 00 80 00 00 00 00 0a |.....S..|........|
|00003d40| 14 00 00 04 0e 75 00 00 | 00 00 80 00 00 00 00 00 |.....u..|........|
|00003d50| 80 00 00 00 00 0a 00 00 | 00 0b 5c 12 00 00 00 00 |........|..\.....|
|00003d60| 80 00 00 00 00 0a 00 00 | 00 04 45 e9 00 00 00 00 |........|..E.....|
|00003d70| 80 00 00 00 00 0a 00 00 | 00 04 44 e9 00 00 00 00 |........|..D.....|
|00003d80| 80 00 00 00 00 0a 00 00 | 00 04 43 62 00 00 00 00 |........|..Cb....|
|00003d90| 80 00 00 00 00 0a 00 00 | 00 14 43 30 00 00 00 00 |........|..C0....|
|00003da0| 80 00 00 00 00 0a 00 00 | 00 13 cb 88 00 00 00 00 |........|........|
|00003db0| 80 00 00 00 00 0a 00 00 | 00 18 2e e6 00 00 00 00 |........|........|
|00003dc0| 80 00 00 00 00 00 80 00 | 00 00 00 0a 00 00 00 17 |........|........|
|00003dd0| 52 ea 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |R.......|........|
|00003de0| 00 0a 3d 00 00 13 c8 71 | 00 00 00 00 80 00 00 00 |..=....q|........|
|00003df0| 00 0a 00 00 00 15 0c f3 | 00 00 00 00 80 00 00 00 |........|........|
|00003e00| 00 0a 00 00 00 15 0c 3d | 00 00 00 00 00 02 00 00 |.......=|........|
|00003e10| 00 06 00 00 00 20 00 00 | 02 00 00 0f 06 47 65 6e |..... ..|.....Gen|
|00003e20| 65 76 61 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |eva.....|........|
|00003e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 09 |........|........|
|00003e40| 00 00 00 00 00 00 00 00 | 00 00 06 54 00 00 a8 25 |........|...T...%|
|00003e50| 80 34 a8 55 d0 f1 00 00 | 00 10 80 00 00 d4 fd 9f |.4.U....|........|
|00003e60| 01 9c ff 20 4c 41 4e 44 | 00 00 00 00 00 00 00 00 |... LAND|........|
|00003e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e80| 00 00 00 00 54 68 69 6e | 6b 48 65 6c 70 65 72 2e |....Thin|kHelper.|
|00003e90| 65 78 61 6d 70 6c 65 73 | 2e 6e 65 77 43 6c 61 73 |examples|.newClas|
|00003ea0| 73 28 29 0d 80 00 00 00 | 00 00 00 02 00 00 00 0c |s().....|........|
|00003eb0| 00 00 00 4b 00 00 02 00 | 00 0f 06 47 65 6e 65 76 |...K....|...Genev|
|00003ec0| 61 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |a.......|........|
|00003ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 09 00 00 |........|........|
|00003ee0| 00 00 00 00 00 00 00 00 | 06 54 00 00 a8 2a ff 3e |........|.T...*.>|
|00003ef0| a8 55 d1 5c 00 00 00 05 | 80 00 01 5a 01 7f 02 22 |.U.\....|...Z..."|
|00003f00| 03 00 4c 41 4e 44 00 00 | 00 00 00 00 00 00 00 00 |..LAND..|........|
|00003f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f20| 00 00 61 64 64 20 61 20 | 68 65 61 64 65 72 20 74 |..add a |header t|
|00003f30| 6f 20 74 68 65 20 63 75 | 72 72 65 6e 74 6c 79 20 |o the cu|rrently |
|00003f40| 6f 70 65 6e 20 77 69 6e | 64 6f 77 0d 54 68 69 6e |open win|dow.Thin|
|00003f50| 6b 48 65 6c 70 65 72 2e | 65 78 61 6d 70 6c 65 73 |kHelper.|examples|
|00003f60| 2e 61 64 64 48 65 61 64 | 65 72 28 29 0d 84 00 00 |.addHead|er()....|
|00003f70| 00 00 00 80 00 00 00 00 | 00 00 02 00 00 00 0c 00 |........|........|
|00003f80| 00 00 87 00 01 02 00 00 | 0f 06 47 65 6e 65 76 61 |........|..Geneva|
|00003f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 09 00 00 00 |........|........|
|00003fb0| 00 00 00 00 00 00 00 06 | 54 00 00 a8 31 67 ea a8 |........|T...1g..|
|00003fc0| 55 d1 5c 00 00 00 05 00 | 00 01 5a 01 7f 02 22 03 |U.\.....|..Z...".|
|00003fd0| 00 4c 41 4e 44 00 00 00 | 00 00 00 00 00 00 00 00 |.LAND...|........|
|00003fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ff0| 00 69 66 20 61 20 66 69 | 6c 65 20 64 6f 65 73 6e |.if a fi|le doesn|
|00004000| 27 74 20 61 6c 72 65 61 | 64 79 20 68 61 76 65 20 |'t alrea|dy have |
|00004010| 61 20 63 6f 6d 6d 65 6e | 74 20 6d 61 72 6b 65 72 |a commen|t marker|
|00004020| 2c 20 74 68 69 73 20 61 | 64 64 73 20 6f 6e 65 20 |, this a|dds one |
|00004030| 61 74 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 69 |at the c|urrent i|
|00004040| 6e 73 65 72 74 69 6f 6e | 20 70 6f 69 6e 74 0d 54 |nsertion| point.T|
|00004050| 68 69 6e 6b 48 65 6c 70 | 65 72 2e 6d 61 72 6b 53 |hinkHelp|er.markS|
|00004060| 65 6c 65 63 74 69 6f 6e | 28 22 25 25 43 4f 4d 4d |election|("%%COMM|
|00004070| 45 4e 54 25 25 22 29 0d | 84 00 00 00 00 00 80 00 |ENT%%").|........|
|00004080| 00 00 00 00 00 02 00 00 | 00 0c 00 00 00 56 00 00 |........|.....V..|
|00004090| 02 00 00 0f 06 47 65 6e | 65 76 61 00 00 00 00 00 |.....Gen|eva.....|
|000040a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040b0| 00 00 00 00 00 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|000040c0| 00 00 06 54 00 00 a8 27 | f2 26 a8 55 d1 5c 00 00 |...T...'|.&.U.\..|
|000040d0| 00 06 80 00 01 5a 01 7f | 02 22 03 00 4c 41 4e 44 |.....Z..|."..LAND|
|000040e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 6a 75 73 74 |........|....just|
|00004100| 20 61 20 73 68 6f 72 74 | 63 75 74 20 74 6f 20 61 | a short|cut to a|
|00004110| 64 64 20 61 20 73 68 6f | 72 74 20 63 6f 6d 6d 65 |dd a sho|rt comme|
|00004120| 6e 74 0d 54 68 69 6e 6b | 48 65 6c 70 65 72 2e 70 |nt.Think|Helper.p|
|00004130| 61 73 74 65 54 65 78 74 | 28 54 68 69 6e 6b 48 65 |asteText|(ThinkHe|
|00004140| 6c 70 65 72 2e 73 68 6f | 72 74 44 61 74 65 28 29 |lper.sho|rtDate()|
|00004150| 29 0d 84 00 00 00 00 00 | 80 00 00 00 00 00 00 02 |).......|........|
|00004160| 00 00 00 24 00 00 01 0a | 00 02 02 00 00 0f 06 47 |...$....|.......G|
|00004170| 65 6e 65 76 61 00 00 00 | 00 00 00 00 00 00 00 00 |eneva...|........|
|00004180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004190| 00 09 00 00 00 00 00 00 | 00 00 00 00 06 54 00 00 |........|.....T..|
|000041a0| a8 29 9a 27 a8 55 d1 5c | 00 00 00 08 00 00 01 5a |.).'.U.\|.......Z|
|000041b0| 01 7f 02 22 03 00 4c 41 | 4e 44 00 00 00 00 00 00 |..."..LA|ND......|
|000041c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041d0| 00 00 00 00 00 00 61 6e | 20 65 78 61 6d 70 6c 65 |......an| example|
|000041e0| 20 6f 66 20 61 20 73 63 | 72 69 70 74 20 74 68 61 | of a sc|ript tha|
|000041f0| 74 20 70 72 6f 63 65 73 | 73 65 73 20 74 68 65 20 |t proces|ses the |
|00004200| 73 65 6c 65 63 74 69 6f | 6e 2c 20 61 6e 64 20 72 |selectio|n, and r|
|00004210| 65 70 6c 61 63 65 73 20 | 69 74 20 69 6e 6c 69 6e |eplaces |it inlin|
|00004220| 65 0d 6c 6f 63 61 6c 20 | 28 73 73 2c 20 73 65 6c |e.local |(ss, sel|
|00004230| 53 74 61 72 74 2c 20 73 | 65 6c 45 6e 64 29 0d 54 |Start, s|elEnd).T|
|00004240| 68 69 6e 6b 48 65 6c 70 | 65 72 2e 67 65 74 53 65 |hinkHelp|er.getSe|
|00004250| 6c 65 63 74 69 6f 6e 28 | 40 73 65 6c 53 74 61 72 |lection(|@selStar|
|00004260| 74 2c 20 40 73 65 6c 45 | 6e 64 29 0d 73 73 20 3d |t, @selE|nd).ss =|
|00004270| 20 54 68 69 6e 6b 48 65 | 6c 70 65 72 2e 63 6f 70 | ThinkHe|lper.cop|
|00004280| 79 53 65 6c 65 63 74 69 | 6f 6e 28 29 0d 54 68 69 |ySelecti|on().Thi|
|00004290| 6e 6b 48 65 6c 70 65 72 | 2e 70 61 73 74 65 54 65 |nkHelper|.pasteTe|
|000042a0| 78 74 28 73 74 72 69 6e | 67 2e 75 70 70 65 72 28 |xt(strin|g.upper(|
|000042b0| 73 73 29 29 0d 54 68 69 | 6e 6b 48 65 6c 70 65 72 |ss)).Thi|nkHelper|
|000042c0| 2e 73 65 74 53 65 6c 65 | 63 74 69 6f 6e 28 73 65 |.setSele|ction(se|
|000042d0| 6c 53 74 61 72 74 2c 20 | 73 65 6c 45 6e 64 29 0d |lStart, |selEnd).|
|000042e0| 84 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|000042f0| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|00004300| 00 00 00 00 00 02 00 00 | 00 a2 00 00 03 18 00 00 |........|........|
|00004310| 02 00 00 0f 06 47 65 6e | 65 76 61 00 00 00 00 00 |.....Gen|eva.....|
|00004320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004330| 00 00 00 00 00 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00004340| 00 00 06 54 00 00 a7 c0 | d4 1d a8 55 d1 df 00 00 |...T....|...U....|
|00004350| 00 18 80 00 01 59 01 7f | 02 21 03 00 4c 41 4e 44 |.....Y..|.!..LAND|
|00004360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004370| 00 00 00 00 00 00 00 00 | 00 00 00 00 69 66 20 78 |........|....if x|
|00004380| 78 78 2e 68 20 6f 72 20 | 78 78 78 2e 68 70 20 69 |xx.h or |xxx.hp i|
|00004390| 73 20 74 68 65 20 66 72 | 6f 6e 74 6d 6f 73 74 20 |s the fr|ontmost |
|000043a0| 77 69 6e 64 6f 77 2c 20 | 74 68 69 73 20 73 63 72 |window, |this scr|
|000043b0| 69 70 74 20 6f 70 65 6e | 73 20 78 78 78 2e 63 70 |ipt open|s xxx.cp|
|000043c0| 20 28 6f 72 20 2e 63 29 | 0d 09 73 69 6d 69 6c 61 | (or .c)|..simila|
|000043d0| 72 6c 79 2c 20 69 66 20 | 78 78 78 78 2e 63 70 20 |rly, if |xxxx.cp |
|000043e0| 6f 72 20 78 78 78 78 2e | 63 20 69 73 20 66 72 6f |or xxxx.|c is fro|
|000043f0| 6e 74 6d 6f 73 74 2c 20 | 6f 70 65 6e 73 20 78 78 |ntmost, |opens xx|
|00004400| 78 78 2e 68 0d 0d 6c 6f | 63 61 6c 20 28 73 65 6c |xx.h..lo|cal (sel|
|00004410| 2c 20 66 29 0d 66 20 3d | 20 73 74 72 69 6e 67 20 |, f).f =| string |
|00004420| 28 54 68 69 6e 6b 48 65 | 6c 70 65 72 2e 67 65 74 |(ThinkHe|lper.get|
|00004430| 54 61 72 67 65 74 50 61 | 74 68 28 29 29 0d 69 66 |TargetPa|th()).if|
|00004440| 20 66 20 65 6e 64 73 77 | 69 74 68 20 22 2e 63 70 | f endsw|ith ".cp|
|00004450| 22 0d 09 69 66 20 66 20 | 65 6e 64 73 77 69 74 68 |"..if f |endswith|
|00004460| 20 22 2e 63 70 22 0d 09 | 09 66 20 3d 20 66 20 2d | ".cp"..|.f = f -|
|00004470| 20 22 2e 63 70 22 20 2b | 20 22 2e 63 22 0d 09 66 | ".cp" +| ".c"..f|
|00004480| 20 3d 20 73 74 72 69 6e | 67 2e 72 65 70 6c 61 63 | = strin|g.replac|
|00004490| 65 20 28 66 2c 20 22 2e | 63 22 2c 20 22 2e 68 22 |e (f, ".|c", ".h"|
|000044a0| 29 0d 09 69 66 20 66 69 | 6c 65 2e 65 78 69 73 74 |)..if fi|le.exist|
|000044b0| 73 20 28 66 29 0d 09 09 | 54 68 69 6e 6b 2e 6f 70 |s (f)...|Think.op|
|000044c0| 65 6e 46 69 6c 65 20 28 | 66 29 0d 09 65 6c 73 65 |enFile (|f)..else|
|000044d0| 20 c7 ca 63 6f 75 6c 64 | 20 62 65 20 61 20 2e 63 | ..could| be a .c|
|000044e0| 2c 20 49 20 67 75 65 73 | 73 0d 09 09 64 69 61 6c |, I gues|s...dial|
|000044f0| 6f 67 2e 61 6c 65 72 74 | 20 28 22 43 61 6e 27 74 |og.alert| ("Can't|
|00004500| 20 66 69 6e 64 20 d2 22 | 20 2b 20 66 69 6c 65 2e | find ."| + file.|
|00004510| 66 69 6c 65 46 72 6f 6d | 50 61 74 68 20 28 66 29 |fileFrom|Path (f)|
|00004520| 20 2b 20 22 d3 22 29 0d | 65 6c 73 65 0d 09 6c 6f | + ".").|else..lo|
|00004530| 63 61 6c 20 28 73 65 6c | 2c 20 66 29 0d 09 66 20 |cal (sel|, f)..f |
|00004540| 3d 20 73 74 72 69 6e 67 | 20 28 54 68 69 6e 6b 48 |= string| (ThinkH|
|00004550| 65 6c 70 65 72 2e 67 65 | 74 54 61 72 67 65 74 50 |elper.ge|tTargetP|
|00004560| 61 74 68 28 29 29 0d 09 | 69 66 20 66 20 65 6e 64 |ath())..|if f end|
|00004570| 73 77 69 74 68 20 22 2e | 68 70 22 0d 09 09 66 20 |swith ".|hp"...f |
|00004580| 3d 20 66 20 2d 20 22 2e | 68 70 22 20 2b 20 22 2e |= f - ".|hp" + ".|
|00004590| 68 22 0d 09 66 20 3d 20 | 73 74 72 69 6e 67 2e 72 |h"..f = |string.r|
|000045a0| 65 70 6c 61 63 65 20 28 | 66 2c 20 22 2e 68 22 2c |eplace (|f, ".h",|
|000045b0| 20 22 2e 63 70 22 29 0d | 09 69 66 20 66 69 6c 65 | ".cp").|.if file|
|000045c0| 2e 65 78 69 73 74 73 20 | 28 66 29 0d 09 09 54 68 |.exists |(f)...Th|
|000045d0| 69 6e 6b 2e 6f 70 65 6e | 46 69 6c 65 20 28 66 29 |ink.open|File (f)|
|000045e0| 0d 09 65 6c 73 65 20 c7 | ca 63 6f 75 6c 64 20 62 |..else .|.could b|
|000045f0| 65 20 61 20 2e 63 2c 20 | 49 20 67 75 65 73 73 0d |e a .c, |I guess.|
|00004600| 09 09 66 20 3d 20 73 74 | 72 69 6e 67 2e 72 65 70 |..f = st|ring.rep|
|00004610| 6c 61 63 65 28 66 2c 20 | 22 2e 63 70 22 2c 20 22 |lace(f, |".cp", "|
|00004620| 2e 63 22 29 0d 09 09 69 | 66 20 66 69 6c 65 2e 65 |.c")...i|f file.e|
|00004630| 78 69 73 74 73 28 66 29 | 0d 09 09 09 54 68 69 6e |xists(f)|....Thin|
|00004640| 6b 2e 6f 70 65 6e 46 69 | 6c 65 28 66 29 0d 09 09 |k.openFi|le(f)...|
|00004650| 65 6c 73 65 0d 09 09 09 | 64 69 61 6c 6f 67 2e 61 |else....|dialog.a|
|00004660| 6c 65 72 74 20 28 22 43 | 61 6e 27 74 20 66 69 6e |lert ("C|an't fin|
|00004670| 64 20 d2 22 20 2b 20 66 | 69 6c 65 2e 66 69 6c 65 |d ." + f|ile.file|
|00004680| 46 72 6f 6d 50 61 74 68 | 20 28 66 29 20 2b 20 22 |FromPath| (f) + "|
|00004690| d3 22 29 0d 84 00 00 00 | 00 00 80 00 00 00 00 00 |.").....|........|
|000046a0| 80 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|000046b0| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|000046c0| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|000046d0| 80 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|000046e0| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|000046f0| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00004700| 80 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|00004710| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|00004720| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00004730| 80 00 00 00 00 00 00 02 | 00 00 00 0c 00 00 00 5a |........|.......Z|
|00004740| 00 01 02 00 00 0f 06 47 | 65 6e 65 76 61 00 00 00 |.......G|eneva...|
|00004750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004760| 00 00 00 00 00 00 00 00 | 00 09 00 00 00 00 00 00 |........|........|
|00004770| 00 00 00 00 06 54 00 00 | a8 31 5c 49 a8 55 d2 b5 |.....T..|.1\I.U..|
|00004780| 00 00 00 07 80 00 01 5a | 01 7f 02 22 03 00 4c 41 |.......Z|..."..LA|
|00004790| 4e 44 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |ND......|........|
|000047a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 54 68 |........|......Th|
|000047b0| 69 73 20 69 73 20 74 68 | 65 20 6d 6f 73 74 20 75 |is is th|e most u|
|000047c0| 73 65 66 75 6c 20 73 63 | 72 69 70 74 20 69 6e 20 |seful sc|ript in |
|000047d0| 74 68 65 20 77 6f 72 6c | 64 2e 2e 2e 0d 54 68 69 |the worl|d....Thi|
|000047e0| 6e 6b 48 65 6c 70 65 72 | 2e 65 78 61 6d 70 6c 65 |nkHelper|.example|
|000047f0| 73 2e 63 68 65 63 6b 6f | 75 74 43 75 72 72 65 6e |s.checko|utCurren|
|00004800| 74 28 74 72 75 65 29 0d | 80 00 00 00 00 00 80 00 |t(true).|........|
|00004810| 00 00 00 00 00 02 00 00 | 00 0c 00 00 00 57 00 01 |........|.....W..|
|00004820| 02 00 00 0f 06 47 65 6e | 65 76 61 00 00 00 00 00 |.....Gen|eva.....|
|00004830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004840| 00 00 00 00 00 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00004850| 00 00 06 54 00 00 a8 31 | 5c 49 a8 55 d3 8b 00 00 |...T...1|\I.U....|
|00004860| 00 06 00 00 01 5a 01 7f | 02 22 03 00 4c 41 4e 44 |.....Z..|."..LAND|
|00004870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004880| 00 00 00 00 00 00 00 00 | 00 00 00 00 54 68 69 73 |........|....This|
|00004890| 20 69 73 20 74 68 65 20 | 73 65 63 6f 6e 64 20 6d | is the |second m|
|000048a0| 6f 73 74 20 75 73 65 66 | 75 6c 20 73 63 72 69 70 |ost usef|ul scrip|
|000048b0| 74 20 65 76 65 72 0d 54 | 68 69 6e 6b 48 65 6c 70 |t ever.T|hinkHelp|
|000048c0| 65 72 2e 65 78 61 6d 70 | 6c 65 73 2e 63 68 65 63 |er.examp|les.chec|
|000048d0| 6b 6f 75 74 43 75 72 72 | 65 6e 74 28 66 61 6c 73 |koutCurr|ent(fals|
|000048e0| 65 29 0d 84 00 00 00 00 | 00 80 00 00 00 00 00 00 |e)......|........|
|000048f0| 02 00 00 00 0c 00 00 00 | 70 00 00 02 00 00 0f 06 |........|p.......|
|00004900| 47 65 6e 65 76 61 00 00 | 00 00 00 00 00 00 00 00 |Geneva..|........|
|00004910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004920| 00 00 09 00 00 00 00 00 | 00 00 00 00 00 06 54 00 |........|......T.|
|00004930| 1e a8 31 6f 53 a8 55 d3 | a8 00 00 00 05 80 00 01 |..1oS.U.|........|
|00004940| 5a 01 7f 02 22 03 00 4c | 41 4e 44 00 00 00 00 00 |Z..."..L|AND.....|
|00004950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004960| 00 00 00 00 00 00 00 33 | 72 64 20 6d 6f 73 74 20 |.......3|rd most |
|00004970| 75 73 65 66 75 6c 20 2d | 20 61 6c 74 68 6f 75 67 |useful -| althoug|
|00004980| 68 20 69 74 20 64 6f 65 | 73 6e 27 74 20 67 69 76 |h it doe|sn't giv|
|00004990| 65 20 61 20 63 68 61 6e | 63 65 20 66 6f 72 20 61 |e a chan|ce for a|
|000049a0| 20 63 68 65 63 6b 69 6e | 20 63 6f 6d 6d 65 6e 74 | checkin| comment|
|000049b0| 0d 54 68 69 6e 6b 48 65 | 6c 70 65 72 2e 65 78 61 |.ThinkHe|lper.exa|
|000049c0| 6d 70 6c 65 73 2e 63 68 | 65 63 6b 69 6e 43 75 72 |mples.ch|eckinCur|
|000049d0| 72 65 6e 74 28 29 0d 84 | 00 00 00 00 00 80 00 00 |rent()..|........|
|000049e0| 00 00 00 00 02 00 00 00 | 18 00 00 00 eb 00 02 02 |........|........|
|000049f0| 00 00 0f 06 47 65 6e 65 | 76 61 00 00 00 00 00 00 |....Gene|va......|
|00004a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a10| 00 00 00 00 00 00 09 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a20| 00 06 54 00 00 a8 4b f6 | 88 a8 55 d5 a3 00 00 00 |..T...K.|..U.....|
|00004a30| 06 80 00 00 96 00 7f 01 | 5e 02 00 4c 41 4e 44 00 |........|^..LAND.|
|00004a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a50| 00 00 00 00 00 00 00 00 | 00 00 00 59 6f 75 20 6e |........|...You n|
|00004a60| 65 65 64 20 74 6f 20 65 | 64 69 74 20 74 68 69 73 |eed to e|dit this|
|00004a70| 20 74 6f 20 68 61 76 65 | 20 74 68 65 20 70 61 74 | to have| the pat|
|00004a80| 68 20 74 6f 20 74 68 65 | 20 63 75 72 72 65 6e 74 |h to the| current|
|00004a90| 20 70 72 6f 6a 65 63 74 | 0d 09 6f 72 20 63 6f 6d | project|..or com|
|00004aa0| 65 20 75 70 20 77 69 74 | 68 20 61 20 6d 61 70 70 |e up wit|h a mapp|
|00004ab0| 69 6e 67 20 73 63 68 65 | 6d 65 2e 20 20 53 65 65 |ing sche|me. See|
|00004ac0| 20 54 68 69 6e 6b 48 65 | 6c 70 65 72 2e 65 78 61 | ThinkHe|lper.exa|
|00004ad0| 6d 70 6c 65 73 2e 70 72 | 6f 6a 65 63 74 46 72 6f |mples.pr|ojectFro|
|00004ae0| 6d 46 69 6c 65 0d 09 74 | 68 69 73 20 77 6f 6e 27 |mFile..t|his won'|
|00004af0| 74 20 63 6f 6d 70 69 6c | 65 20 74 69 6c 6c 20 79 |t compil|e till y|
|00004b00| 6f 75 20 64 6f 2e 2e 2e | 0d 54 68 69 6e 6b 48 65 |ou do...|.ThinkHe|
|00004b10| 6c 70 65 72 2e 65 78 61 | 6d 70 6c 65 73 2e 63 68 |lper.exa|mples.ch|
|00004b20| 65 63 6b 69 6e 41 6c 6c | 53 6f 75 72 63 65 73 28 |eckinAll|Sources(|
|00004b30| 5f 5f 50 41 54 48 20 5f | 54 4f 5f 20 50 52 4f 4a |__PATH _|TO_ PROJ|
|00004b40| 45 43 54 5f 29 0d 84 00 | 00 00 00 00 80 00 00 00 |ECT_)...|........|
|00004b50| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 00 02 |........|........|
|00004b60| 00 00 00 2a 00 00 01 1d | 00 03 02 00 00 0f 06 47 |...*....|.......G|
|00004b70| 65 6e 65 76 61 00 00 00 | 00 00 00 00 00 00 00 00 |eneva...|........|
|00004b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b90| 00 09 00 00 00 00 00 00 | 00 00 00 00 06 54 00 00 |........|.....T..|
|00004ba0| a8 4b f6 9f a8 55 d5 d7 | 00 00 00 06 80 00 00 96 |.K...U..|........|
|00004bb0| 00 7f 01 5e 02 00 4c 41 | 4e 44 00 00 00 00 00 00 |...^..LA|ND......|
|00004bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bd0| 00 00 00 00 00 00 59 6f | 75 20 6e 65 65 64 20 74 |......Yo|u need t|
|00004be0| 6f 20 65 64 69 74 20 74 | 68 69 73 20 74 6f 20 68 |o edit t|his to h|
|00004bf0| 61 76 65 20 74 68 65 20 | 70 61 74 68 20 74 6f 20 |ave the |path to |
|00004c00| 74 68 65 20 63 75 72 72 | 65 6e 74 20 70 72 6f 6a |the curr|ent proj|
|00004c10| 65 63 74 0d 09 6f 72 20 | 63 6f 6d 65 20 75 70 20 |ect..or |come up |
|00004c20| 77 69 74 68 20 61 20 6d | 61 70 70 69 6e 67 20 73 |with a m|apping s|
|00004c30| 63 68 65 6d 65 2e 20 20 | 53 65 65 20 54 68 69 6e |cheme. |See Thin|
|00004c40| 6b 48 65 6c 70 65 72 2e | 65 78 61 6d 70 6c 65 73 |kHelper.|examples|
|00004c50| 2e 70 72 6f 6a 65 63 74 | 46 72 6f 6d 46 69 6c 65 |.project|FromFile|
|00004c60| 0d 09 74 68 69 73 20 77 | 6f 6e 27 74 20 63 6f 6d |..this w|on't com|
|00004c70| 70 69 6c 65 20 74 69 6c | 6c 20 79 6f 75 20 64 6f |pile til|l you do|
|00004c80| 2e 2e 2e 0d 54 68 69 6e | 6b 48 65 6c 70 65 72 2e |....Thin|kHelper.|
|00004c90| 65 78 61 6d 70 6c 65 73 | 2e 75 70 64 61 74 65 53 |examples|.updateS|
|00004ca0| 6f 75 72 63 65 73 28 5f | 5f 50 41 54 48 20 5f 54 |ources(_|_PATH _T|
|00004cb0| 4f 5f 20 50 52 4f 4a 45 | 43 54 5f 29 0d 77 69 74 |O_ PROJE|CT_).wit|
|00004cc0| 68 20 54 68 69 6e 6b 2c | 20 65 76 65 6e 74 49 6e |h Think,| eventIn|
|00004cd0| 66 6f 0d 09 6d 61 6b 65 | 28 75 73 65 44 69 73 6b |fo..make|(useDisk|
|00004ce0| 29 0d 09 62 72 69 6e 67 | 55 70 54 6f 44 61 74 65 |)..bring|UpToDate|
|00004cf0| 28 29 0d 84 00 00 00 00 | 00 80 00 00 00 00 00 80 |()......|........|
|00004d00| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00004d10| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 00 02 00 |........|........|
|00004d20| 00 00 06 00 00 00 25 00 | 00 02 00 00 0f 06 47 65 |......%.|......Ge|
|00004d30| 6e 65 76 61 00 00 00 00 | 00 00 00 00 00 00 00 00 |neva....|........|
|00004d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d50| 09 00 00 00 00 00 00 00 | 00 00 00 06 54 00 00 a8 |........|....T...|
|00004d60| 4b f6 ee a8 55 d6 57 00 | 00 00 05 80 00 00 96 00 |K...U.W.|........|
|00004d70| 7f 01 5e 02 00 4c 41 4e | 44 00 00 00 00 00 00 00 |..^..LAN|D.......|
|00004d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d90| 00 00 00 00 00 54 68 69 | 6e 6b 48 65 6c 70 65 72 |.....Thi|nkHelper|
|00004da0| 2e 65 78 61 6d 70 6c 65 | 73 2e 63 61 6e 63 65 6c |.example|s.cancel|
|00004db0| 43 75 72 72 65 6e 74 28 | 29 0d 80 00 00 00 00 00 |Current(|).......|
|00004dc0| 00 02 00 00 00 ae 00 00 | 03 89 00 1a 02 00 00 0f |........|........|
|00004dd0| 06 4d 6f 6e 61 63 6f 00 | 00 00 00 00 00 00 00 00 |.Monaco.|........|
|00004de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004df0| 00 00 00 09 00 00 00 00 | 00 00 00 00 00 00 06 54 |........|.......T|
|00004e00| 00 00 a8 55 dc f5 a8 55 | d6 57 00 00 00 05 80 00 |...U...U|.W......|
|00004e10| 01 5a 01 7f 02 22 03 00 | 4c 41 4e 44 00 00 00 00 |.Z..."..|LAND....|
|00004e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e30| 00 00 00 00 00 00 00 00 | 77 69 74 68 20 54 68 69 |........|with Thi|
|00004e40| 6e 6b 2c 20 65 76 65 6e | 74 49 6e 66 6f 0d 09 0d |nk, even|tInfo...|
|00004e50| 09 6f 70 65 6e 73 20 74 | 68 65 20 66 6f 6c 64 65 |.opens t|he folde|
|00004e60| 72 20 74 68 61 74 20 63 | 6f 6e 74 61 69 6e 73 20 |r that c|ontains |
|00004e70| 74 68 65 20 66 69 6c 65 | 20 70 6f 69 6e 74 65 64 |the file| pointed|
|00004e80| 20 74 6f 20 62 79 20 74 | 68 65 20 63 75 72 72 65 | to by t|he curre|
|00004e90| 6e 74 20 70 72 6f 6a 65 | 63 74 20 73 65 6c 65 63 |nt proje|ct selec|
|00004ea0| 74 69 6f 6e 0d 09 09 74 | 68 69 73 20 69 73 20 75 |tion...t|his is u|
|00004eb0| 73 65 66 75 6c 20 66 6f | 72 20 77 68 65 6e 20 79 |seful fo|r when y|
|00004ec0| 6f 75 20 77 61 6e 74 20 | 74 6f 20 63 68 65 63 6b |ou want |to check|
|00004ed0| 20 6f 75 74 20 61 20 2e | 72 73 72 63 20 66 69 6c | out a .|rsrc fil|
|00004ee0| 65 0d 09 0d 09 6c 6f 63 | 61 6c 20 28 66 29 0d 09 |e....loc|al (f)..|
|00004ef0| 66 20 3d 20 74 68 69 6e | 6b 2e 67 65 74 46 69 6c |f = thin|k.getFil|
|00004f00| 65 50 61 74 68 20 28 74 | 68 69 6e 6b 2e 67 65 74 |ePath (t|hink.get|
|00004f10| 53 65 6c 65 63 74 65 64 | 50 72 6f 6a 65 63 74 46 |Selected|ProjectF|
|00004f20| 69 6c 65 20 28 29 29 0d | 09 69 66 20 66 20 3d 3d |ile ()).|.if f ==|
|00004f30| 20 22 22 0d 09 09 73 63 | 72 69 70 74 45 72 72 6f | ""...sc|riptErro|
|00004f40| 72 20 28 22 54 68 65 72 | 65 20 69 73 20 6e 6f 20 |r ("Ther|e is no |
|00004f50| 73 65 6c 65 63 74 65 64 | 20 66 69 6c 65 20 69 6e |selected| file in|
|00004f60| 20 54 50 4d 27 73 20 70 | 72 6f 6a 65 63 74 20 77 | TPM's p|roject w|
|00004f70| 69 6e 64 6f 77 20 6f 72 | 20 6e 6f 20 70 72 6f 6a |indow or| no proj|
|00004f80| 65 63 74 20 77 69 6e 64 | 6f 77 20 69 73 20 6f 70 |ect wind|ow is op|
|00004f90| 65 6e 2e 22 29 0d 09 0d | 09 69 66 20 21 20 66 69 |en.")...|.if ! fi|
|00004fa0| 6c 65 2e 65 78 69 73 74 | 73 20 28 66 29 0d 09 09 |le.exist|s (f)...|
|00004fb0| 73 63 72 69 70 74 45 72 | 72 6f 72 20 28 22 54 68 |scriptEr|ror ("Th|
|00004fc0| 65 20 66 69 6c 65 20 64 | 6f 65 73 6e 27 74 20 65 |e file d|oesn't e|
|00004fd0| 78 69 73 74 2e 20 49 74 | 27 73 20 70 61 74 68 20 |xist. It|'s path |
|00004fe0| 69 73 3a 20 22 20 2b 20 | 63 72 20 2b 20 63 72 20 |is: " + |cr + cr |
|00004ff0| 2b 20 66 29 0d 09 65 6c | 73 65 0d 09 09 63 68 65 |+ f)..el|se...che|
|00005000| 63 6b 6f 75 74 20 74 68 | 65 20 63 75 72 72 65 6e |ckout th|e curren|
|00005010| 74 20 66 69 6c 65 20 0d | 09 09 6c 6f 63 61 6c 0d |t file .|..local.|
|00005020| 09 09 09 66 72 6f 6e 74 | 46 69 6c 65 20 3d 20 66 |...front|File = f|
|00005030| 0d 09 09 09 66 72 6f 6e | 74 46 69 6c 65 4e 61 6d |....fron|tFileNam|
|00005040| 65 20 3d 20 66 69 6c 65 | 2e 66 69 6c 65 46 72 6f |e = file|.fileFro|
|00005050| 6d 50 61 74 68 28 66 72 | 6f 6e 74 46 69 6c 65 29 |mPath(fr|ontFile)|
|00005060| 0d 09 09 09 70 72 6f 6a | 65 63 74 4e 61 6d 65 0d |....proj|ectName.|
|00005070| 09 09 0d 09 09 70 72 6f | 6a 65 63 74 4e 61 6d 65 |.....pro|jectName|
|00005080| 20 3d 20 54 68 69 6e 6b | 48 65 6c 70 65 72 2e 65 | = Think|Helper.e|
|00005090| 78 61 6d 70 6c 65 73 2e | 70 72 6f 6a 65 63 74 46 |xamples.|projectF|
|000050a0| 72 6f 6d 46 69 6c 65 28 | 66 72 6f 6e 74 46 69 6c |romFile(|frontFil|
|000050b0| 65 29 0d 09 09 0d 09 09 | 6d 73 67 28 22 63 68 65 |e)......|msg("che|
|000050c0| 63 6b 69 6e 67 20 6f 75 | 74 20 22 20 2b 20 66 72 |cking ou|t " + fr|
|000050d0| 6f 6e 74 46 69 6c 65 4e | 61 6d 65 20 2b 20 22 20 |ontFileN|ame + " |
|000050e0| 66 72 6f 6d 20 22 20 2b | 20 66 69 6c 65 2e 66 69 |from " +| file.fi|
|000050f0| 6c 65 46 72 6f 6d 50 61 | 74 68 28 70 72 6f 6a 65 |leFromPa|th(proje|
|00005100| 63 74 4e 61 6d 65 29 29 | 0d 09 09 0d 09 09 77 69 |ctName))|......wi|
|00005110| 74 68 20 53 6f 75 72 63 | 65 53 65 72 76 65 72 0d |th Sourc|eServer.|
|00005120| 09 09 09 6d 6f 75 6e 74 | 50 72 6f 6a 65 63 74 28 |...mount|Project(|
|00005130| 70 72 6f 6a 65 63 74 4e | 61 6d 65 29 0d 09 09 09 |projectN|ame)....|
|00005140| 63 68 65 63 6b 4f 75 74 | 44 69 72 28 66 69 6c 65 |checkOut|Dir(file|
|00005150| 2e 66 6f 6c 64 65 72 46 | 72 6f 6d 50 61 74 68 28 |.folderF|romPath(|
|00005160| 66 72 6f 6e 74 46 69 6c | 65 29 29 0d 09 09 09 63 |frontFil|e))....c|
|00005170| 68 65 63 6b 4f 75 74 46 | 69 6c 65 28 66 72 6f 6e |heckOutF|ile(fron|
|00005180| 74 46 69 6c 65 4e 61 6d | 65 2c 20 70 65 6f 70 6c |tFileNam|e, peopl|
|00005190| 65 2e 5b 75 73 65 72 2e | 69 6e 69 74 69 61 6c 73 |e.[user.|initials|
|000051a0| 5d 2e 63 68 65 63 6b 6f | 75 74 43 6f 6d 6d 65 6e |].checko|utCommen|
|000051b0| 74 29 0d 09 09 09 0d 09 | 09 6d 73 67 28 22 22 29 |t)......|.msg("")|
|000051c0| 0d 80 00 00 00 00 00 80 | 00 00 00 00 00 84 00 00 |........|........|
|000051d0| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 80 |........|........|
|000051e0| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|000051f0| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|00005200| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 84 |........|........|
|00005210| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00005220| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|00005230| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 80 |........|........|
|00005240| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00005250| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|00005260| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 00 |........|........|
|00005270| 02 00 00 00 06 00 00 00 | 27 00 00 02 00 00 0f 06 |........|'.......|
|00005280| 47 65 6e 65 76 61 00 00 | 00 00 00 00 00 00 00 00 |Geneva..|........|
|00005290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052a0| 00 00 09 00 00 00 00 00 | 00 00 00 00 00 06 54 00 |........|......T.|
|000052b0| 00 a8 42 58 44 a8 55 d7 | c4 00 00 00 05 80 00 01 |..BXD.U.|........|
|000052c0| 5a 01 7f 02 22 03 00 4c | 41 4e 44 00 00 00 00 00 |Z..."..L|AND.....|
|000052d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052e0| 00 00 00 00 00 00 00 54 | 68 69 6e 6b 48 65 6c 70 |.......T|hinkHelp|
|000052f0| 65 72 2e 65 78 61 6d 70 | 6c 65 73 2e 70 6f 70 75 |er.examp|les.popu|
|00005300| 6c 61 74 65 50 72 6f 6a | 65 63 74 28 29 0d 80 00 |lateProj|ect()...|
|00005310| 00 00 00 00 00 02 00 00 | 00 06 00 00 00 2d 00 00 |........|.....-..|
|00005320| 02 00 00 0f 06 47 65 6e | 65 76 61 00 00 00 00 00 |.....Gen|eva.....|
|00005330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005340| 00 00 00 00 00 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00005350| 00 00 06 54 00 00 a8 38 | 01 09 a8 55 d0 f3 00 00 |...T...8|...U....|
|00005360| 00 04 80 00 01 5a 01 7f | 02 22 03 00 4c 41 4e 44 |.....Z..|."..LAND|
|00005370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005380| 00 00 00 00 00 00 00 00 | 00 00 00 00 54 68 69 6e |........|....Thin|
|00005390| 6b 48 65 6c 70 65 72 2e | 73 65 74 54 61 72 67 65 |kHelper.|setTarge|
|000053a0| 74 50 6f 73 28 2d 38 32 | 39 2c 20 34 33 2c 20 38 |tPos(-82|9, 43, 8|
|000053b0| 32 37 2c 20 35 37 39 29 | 0d 80 00 00 00 00 00 00 |27, 579)|........|
|000053c0| 02 00 00 00 06 00 00 00 | 2a 00 00 02 00 00 0f 06 |........|*.......|
|000053d0| 47 65 6e 65 76 61 00 00 | 00 00 00 00 00 00 00 00 |Geneva..|........|
|000053e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053f0| 00 00 09 00 00 00 00 00 | 00 00 00 00 00 06 54 00 |........|......T.|
|00005400| 00 a8 38 05 6c a8 55 d0 | f3 00 00 00 04 00 00 01 |..8.l.U.|........|
|00005410| 5a 01 7f 02 22 03 00 4c | 41 4e 44 00 00 00 00 00 |Z..."..L|AND.....|
|00005420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005430| 00 00 00 00 00 00 00 54 | 68 69 6e 6b 48 65 6c 70 |.......T|hinkHelp|
|00005440| 65 72 2e 73 65 74 54 61 | 72 67 65 74 50 6f 73 28 |er.setTa|rgetPos(|
|00005450| 32 2c 20 34 30 2c 20 35 | 34 39 2c 20 37 38 30 29 |2, 40, 5|49, 780)|
|00005460| 0d 80 00 00 00 00 00 00 | 02 00 00 00 06 00 00 00 |........|........|
|00005470| 2c 00 00 02 00 00 0f 06 | 47 65 6e 65 76 61 00 00 |,.......|Geneva..|
|00005480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005490| 00 00 00 00 00 00 00 00 | 00 00 09 00 00 00 00 00 |........|........|
|000054a0| 00 00 00 00 00 06 54 00 | 00 a8 38 06 21 a8 55 d0 |......T.|..8.!.U.|
|000054b0| f3 00 00 00 04 00 00 01 | 5a 01 7f 02 22 03 00 4c |........|Z..."..L|
|000054c0| 41 4e 44 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |AND.....|........|
|000054d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 54 |........|.......T|
|000054e0| 68 69 6e 6b 48 65 6c 70 | 65 72 2e 73 65 74 54 61 |hinkHelp|er.setTa|
|000054f0| 72 67 65 74 50 6f 73 28 | 35 35 35 2c 20 34 30 2c |rgetPos(|555, 40,|
|00005500| 20 35 32 33 2c 20 37 38 | 30 29 0d 80 00 00 00 00 | 523, 78|0)......|
|00005510| 00 0d 73 74 65 70 54 68 | 72 6f 75 67 68 4d 65 00 |..stepTh|roughMe.|
|00005520| 00 06 e0 00 01 04 e8 00 | 02 00 00 00 d8 00 00 05 |........|........|
|00005530| 8c 00 23 02 00 00 0f 06 | 47 65 6e 65 76 61 00 00 |..#.....|Geneva..|
|00005540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005550| 00 00 00 00 00 00 00 00 | 00 00 09 00 00 00 00 00 |........|........|
|00005560| 0b 00 0b 00 00 06 54 00 | 00 a8 1c 8c bc a8 55 c1 |......T.|......U.|
|00005570| b6 00 00 00 10 00 00 00 | 69 fd 9d 02 0f ff b9 4c |........|i......L|
|00005580| 41 4e 44 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |AND.....|........|
|00005590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 59 |........|.......Y|
|000055a0| 6f 75 20 73 68 6f 75 6c | 64 20 73 74 65 70 20 74 |ou shoul|d step t|
|000055b0| 68 72 6f 75 67 68 20 74 | 68 69 73 20 77 69 74 68 |hrough t|his with|
|000055c0| 20 74 68 65 20 64 65 62 | 75 67 67 65 72 21 0d 0d | the deb|ugger!..|
|000055d0| 0d 6f 70 65 6e 20 61 20 | 66 69 6c 65 20 66 6f 72 |.open a |file for|
|000055e0| 20 74 68 69 6e 6b 20 74 | 6f 20 77 6f 72 6b 20 77 | think t|o work w|
|000055f0| 69 74 68 0d 6c 6f 63 61 | 6c 20 28 64 73 74 46 69 |ith.loca|l (dstFi|
|00005600| 6c 65 20 3d 20 66 69 6c | 65 2e 67 65 74 53 79 73 |le = fil|e.getSys|
|00005610| 74 65 6d 44 69 73 6b 28 | 29 20 2b 20 22 54 65 73 |temDisk(|) + "Tes|
|00005620| 74 46 69 6c 65 22 29 0d | 54 68 69 6e 6b 48 65 6c |tFile").|ThinkHel|
|00005630| 70 65 72 2e 63 72 65 61 | 74 65 53 6f 75 72 63 65 |per.crea|teSource|
|00005640| 46 69 6c 65 28 64 73 74 | 46 69 6c 65 29 0d 54 68 |File(dst|File).Th|
|00005650| 69 6e 6b 48 65 6c 70 65 | 72 2e 73 65 74 54 61 72 |inkHelpe|r.setTar|
|00005660| 67 65 74 57 69 6e 64 6f | 77 28 64 73 74 46 69 6c |getWindo|w(dstFil|
|00005670| 65 29 0d 0d 61 64 64 20 | 73 6f 6d 65 20 74 65 78 |e)..add |some tex|
|00005680| 74 0d 54 48 69 6e 6b 48 | 65 6c 70 65 72 2e 70 61 |t.THinkH|elper.pa|
|00005690| 73 74 65 54 65 78 74 28 | 22 54 68 69 73 20 69 73 |steText(|"This is|
|000056a0| 20 61 20 6c 69 6e 65 20 | 6f 66 20 74 65 78 74 2e | a line |of text.|
|000056b0| 22 20 2b 20 63 72 20 2b | 20 63 72 20 2b 20 22 54 |" + cr +| cr + "T|
|000056c0| 68 69 73 20 69 73 20 6d | 6f 72 65 20 74 65 78 74 |his is m|ore text|
|000056d0| 20 6f 6e 20 61 20 6c 69 | 6e 65 20 62 79 20 69 74 | on a li|ne by it|
|000056e0| 73 65 6c 66 2e 22 20 2b | 20 63 72 29 0d 54 68 69 |self." +| cr).Thi|
|000056f0| 6e 6b 48 65 6c 70 65 72 | 2e 70 61 73 74 65 54 65 |nkHelper|.pasteTe|
|00005700| 78 74 28 22 54 68 69 73 | 20 6c 69 6e 65 20 6f 66 |xt("This| line of|
|00005710| 20 74 65 78 74 20 2d 20 | 22 29 0d 54 68 69 6e 6b | text - |").Think|
|00005720| 48 65 6c 70 65 72 2e 70 | 61 73 74 65 54 65 78 74 |Helper.p|asteText|
|00005730| 28 22 49 73 20 63 6f 6e | 74 69 6e 75 65 64 20 65 |("Is con|tinued e|
|00005740| 6c 73 65 77 68 65 72 65 | 21 22 20 2b 20 63 72 29 |lsewhere|!" + cr)|
|00005750| 0d 0d 61 64 64 20 61 20 | 66 65 77 20 6d 61 72 6b |..add a |few mark|
|00005760| 65 72 73 0d 54 68 69 6e | 6b 48 65 6c 70 65 72 2e |ers.Thin|kHelper.|
|00005770| 73 65 74 53 65 6c 65 63 | 74 69 6f 6e 28 35 2c 20 |setSelec|tion(5, |
|00005780| 37 29 20 c7 20 73 68 6f | 75 6c 64 20 73 65 6c 65 |7) . sho|uld sele|
|00005790| 63 74 20 22 69 73 22 0d | 54 68 69 6e 6b 48 65 6c |ct "is".|ThinkHel|
|000057a0| 70 65 72 2e 6d 61 72 6b | 53 65 6c 65 63 74 69 6f |per.mark|Selectio|
|000057b0| 6e 28 22 46 69 72 73 74 | 20 53 65 6c 65 63 74 69 |n("First| Selecti|
|000057c0| 6f 6e 22 29 0d 0d 69 6e | 73 65 72 74 20 73 6f 6d |on")..in|sert som|
|000057d0| 65 20 74 65 78 74 20 62 | 65 66 6f 72 65 68 61 6e |e text b|eforehan|
|000057e0| 64 0d 54 68 69 6e 6b 48 | 65 6c 70 65 72 2e 73 65 |d.ThinkH|elper.se|
|000057f0| 74 53 65 6c 65 63 74 69 | 6f 6e 28 30 2c 20 30 29 |tSelecti|on(0, 0)|
|00005800| 20 c7 ca 62 65 66 6f 72 | 65 20 66 69 72 73 74 20 | ..befor|e first |
|00005810| 63 68 61 72 61 63 74 65 | 72 0d 54 68 69 6e 6b 48 |characte|r.ThinkH|
|00005820| 65 6c 70 65 72 2e 70 61 | 73 74 65 54 65 78 74 28 |elper.pa|steText(|
|00005830| 22 53 6f 6d 65 20 74 65 | 78 74 20 69 6e 73 65 72 |"Some te|xt inser|
|00005840| 74 65 64 20 61 74 20 74 | 68 65 20 74 6f 70 20 6f |ted at t|he top o|
|00005850| 66 20 74 68 65 20 66 69 | 6c 65 22 20 2b 20 63 72 |f the fi|le" + cr|
|00005860| 29 0d 62 75 6e 64 6c 65 | 20 c7 ca 49 74 20 64 6f |).bundle| ..It do|
|00005870| 65 73 6e 27 74 20 73 65 | 65 6d 20 6c 69 6b 65 20 |esn't se|em like |
|00005880| 69 74 20 72 65 61 6c 6c | 79 20 72 65 63 6f 67 6e |it reall|y recogn|
|00005890| 69 7a 65 73 20 77 68 61 | 74 20 74 68 65 20 6d 61 |izes wha|t the ma|
|000058a0| 72 6b 65 72 20 73 68 6f | 75 6c 64 20 62 65 2e 2e |rker sho|uld be..|
|000058b0| 2e 20 a5 a5 ca 52 45 4d | 49 4e 44 53 4d 5a 0d 09 |. ...REM|INDSMZ..|
|000058c0| 6c 6f 63 61 6c 20 28 6d | 61 72 6b 65 72 53 74 61 |local (m|arkerSta|
|000058d0| 72 74 2c 20 6d 61 72 6b | 65 72 45 6e 64 29 0d 09 |rt, mark|erEnd)..|
|000058e0| 54 68 69 6e 6b 48 65 6c | 70 65 72 2e 67 65 74 4d |ThinkHel|per.getM|
|000058f0| 61 72 6b 65 72 28 22 46 | 69 72 73 74 20 53 65 6c |arker("F|irst Sel|
|00005900| 65 63 74 69 6f 6e 22 2c | 20 40 6d 61 72 6b 65 72 |ection",| @marker|
|00005910| 53 74 61 72 74 2c 20 40 | 6d 61 72 6b 65 72 45 6e |Start, @|markerEn|
|00005920| 64 29 0d 09 54 68 69 6e | 6b 48 65 6c 70 65 72 2e |d)..Thin|kHelper.|
|00005930| 73 65 74 53 65 6c 65 63 | 74 69 6f 6e 28 6d 61 72 |setSelec|tion(mar|
|00005940| 6b 65 72 53 74 61 72 74 | 2c 20 6d 61 72 6b 65 72 |kerStart|, marker|
|00005950| 45 6e 64 29 0d 62 75 6e | 64 6c 65 20 c7 ca 69 66 |End).bun|dle ..if|
|00005960| 20 77 65 20 63 6c 6f 73 | 65 20 74 68 65 20 77 69 | we clos|e the wi|
|00005970| 6e 64 6f 77 20 66 69 72 | 73 74 2c 20 74 68 65 20 |ndow fir|st, the |
|00005980| 6d 61 72 6b 65 72 73 20 | 61 72 65 20 75 70 64 61 |markers |are upda|
|00005990| 74 65 64 2e 2e 2e 20 20 | 44 61 6d 6e 2e 20 a5 a5 |ted... |Damn. ..|
|000059a0| ca 52 45 4d 49 4e 44 53 | 4d 5a 0d 09 54 68 69 6e |.REMINDS|MZ..Thin|
|000059b0| 6b 48 65 6c 70 65 72 2e | 63 6c 6f 73 65 54 61 72 |kHelper.|closeTar|
|000059c0| 67 65 74 57 69 6e 64 6f | 77 28 29 0d 09 54 68 69 |getWindo|w()..Thi|
|000059d0| 6e 6b 48 65 6c 70 65 72 | 2e 73 65 74 54 61 72 67 |nkHelper|.setTarg|
|000059e0| 65 74 57 69 6e 64 6f 77 | 28 64 73 74 46 69 6c 65 |etWindow|(dstFile|
|000059f0| 29 0d 09 6c 6f 63 61 6c | 20 28 6d 61 72 6b 65 72 |)..local| (marker|
|00005a00| 53 74 61 72 74 2c 20 6d | 61 72 6b 65 72 45 6e 64 |Start, m|arkerEnd|
|00005a10| 29 0d 09 54 68 69 6e 6b | 48 65 6c 70 65 72 2e 67 |)..Think|Helper.g|
|00005a20| 65 74 4d 61 72 6b 65 72 | 28 22 46 69 72 73 74 20 |etMarker|("First |
|00005a30| 53 65 6c 65 63 74 69 6f | 6e 22 2c 20 40 6d 61 72 |Selectio|n", @mar|
|00005a40| 6b 65 72 53 74 61 72 74 | 2c 20 40 6d 61 72 6b 65 |kerStart|, @marke|
|00005a50| 72 45 6e 64 29 0d 09 54 | 68 69 6e 6b 48 65 6c 70 |rEnd)..T|hinkHelp|
|00005a60| 65 72 2e 73 65 74 53 65 | 6c 65 63 74 69 6f 6e 28 |er.setSe|lection(|
|00005a70| 6d 61 72 6b 65 72 53 74 | 61 72 74 2c 20 6d 61 72 |markerSt|art, mar|
|00005a80| 6b 65 72 45 6e 64 29 0d | 09 0d 77 68 61 74 20 70 |kerEnd).|..what p|
|00005a90| 72 6f 6a 65 63 74 20 69 | 73 20 63 75 72 72 65 6e |roject i|s curren|
|00005aa0| 74 6c 79 20 6f 70 65 6e | 3f 20 28 55 74 69 6c 69 |tly open|? (Utili|
|00005ab0| 74 79 20 66 75 6e 63 74 | 69 6f 6e 2c 20 61 63 74 |ty funct|ion, act|
|00005ac0| 75 61 6c 6c 79 29 0d 6d | 73 67 28 54 68 69 6e 6b |ually).m|sg(Think|
|00005ad0| 48 65 6c 70 65 72 2e 67 | 65 74 50 72 6f 6a 65 63 |Helper.g|etProjec|
|00005ae0| 74 46 6f 6c 64 65 72 28 | 29 29 0d 0d 77 68 61 74 |tFolder(|))..what|
|00005af0| 73 20 74 68 65 20 70 61 | 74 68 20 66 6f 72 20 74 |s the pa|th for t|
|00005b00| 68 65 20 74 61 72 67 65 | 74 0d 6d 73 67 28 54 68 |he targe|t.msg(Th|
|00005b10| 69 6e 6b 48 65 6c 70 65 | 72 2e 67 65 74 54 61 72 |inkHelpe|r.getTar|
|00005b20| 67 65 74 50 61 74 68 28 | 29 29 0d 84 00 00 00 00 |getPath(|))......|
|00005b30| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 84 00 00 |........|........|
|00005b40| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 80 |........|........|
|00005b50| 00 00 00 00 00 80 00 00 | 00 00 00 84 00 00 00 00 |........|........|
|00005b60| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|00005b70| 00 00 00 80 00 00 00 00 | 00 84 00 00 00 00 00 80 |........|........|
|00005b80| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00005b90| 00 84 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|00005ba0| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 80 |........|........|
|00005bb0| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00005bc0| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|00005bd0| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 80 |........|........|
|00005be0| 00 00 00 00 00 84 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00005bf0| 00 80 00 00 00 00 00 84 | 00 00 00 00 00 80 00 00 |........|........|
|00005c00| 00 00 00 0e 61 64 64 55 | 73 65 72 43 6f 6d 6d 65 |....addU|serComme|
|00005c10| 6e 74 00 00 04 14 00 01 | 04 e8 00 02 00 00 00 90 |nt......|........|
|00005c20| 00 00 03 08 00 0a 02 00 | 00 0f 06 47 65 6e 65 76 |........|...Genev|
|00005c30| 61 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |a.......|........|
|00005c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 09 00 00 |........|........|
|00005c50| 00 00 00 05 00 05 00 00 | 06 54 00 00 a8 31 62 08 |........|.T...1b.|
|00005c60| a8 55 cf 9f 00 00 00 05 | 00 00 00 3f 00 5f 01 89 |.U......|...?._..|
|00005c70| 02 25 4c 41 4e 44 00 00 | 00 00 00 00 00 00 00 00 |.%LAND..|........|
|00005c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c90| 00 00 69 66 20 74 68 65 | 20 6d 61 72 6b 65 72 20 |..if the| marker |
|00005ca0| 25 25 43 4f 4d 4d 45 4e | 54 25 25 20 65 78 69 73 |%%COMMEN|T%% exis|
|00005cb0| 74 73 20 69 6e 20 74 68 | 65 20 74 61 72 67 65 74 |ts in th|e target|
|00005cc0| 20 77 69 6e 64 6f 77 2c | 20 74 68 69 73 20 61 64 | window,| this ad|
|00005cd0| 64 73 20 61 20 63 6f 6d | 6d 65 6e 74 20 74 68 65 |ds a com|ment the|
|00005ce0| 72 65 0d 09 69 6e 20 74 | 68 65 20 66 6f 72 6d 3a |re..in t|he form:|
|00005cf0| 0d 09 30 35 2f 32 33 2f | 39 33 20 20 73 6d 7a 20 |..05/23/|93 smz |
|00005d00| 20 61 64 64 65 64 20 74 | 68 69 73 20 63 6f 6d 6d | added t|his comm|
|00005d10| 65 6e 74 20 74 6f 20 74 | 68 65 20 74 6f 70 20 6f |ent to t|he top o|
|00005d20| 66 20 74 68 65 20 66 69 | 6c 65 2e 0d 09 43 75 73 |f the fi|le...Cus|
|00005d30| 74 6f 6d 69 7a 65 20 74 | 68 69 73 20 74 6f 20 6d |tomize t|his to m|
|00005d40| 65 65 74 20 79 6f 75 72 | 20 6f 77 6e 20 63 6f 6d |eet your| own com|
|00005d50| 6d 65 6e 74 69 6e 67 20 | 6e 65 65 64 73 2e 2e 2e |menting |needs...|
|00005d60| 0d 6f 6e 20 61 64 64 55 | 73 65 72 43 6f 6d 6d 65 |.on addU|serComme|
|00005d70| 6e 74 28 63 6f 6d 6d 65 | 6e 74 29 0d 09 6c 6f 63 |nt(comme|nt)..loc|
|00005d80| 61 6c 20 28 6d 61 72 6b | 53 74 61 72 74 2c 20 6d |al (mark|Start, m|
|00005d90| 61 72 6b 45 6e 64 2c 20 | 73 65 6c 53 74 61 72 74 |arkEnd, |selStart|
|00005da0| 2c 20 73 65 6c 45 6e 64 | 29 0d 09 77 69 74 68 20 |, selEnd|)..with |
|00005db0| 54 68 69 6e 6b 48 65 6c | 70 65 72 0d 09 09 67 65 |ThinkHel|per...ge|
|00005dc0| 74 4d 61 72 6b 65 72 28 | 22 25 25 43 4f 4d 4d 45 |tMarker(|"%%COMME|
|00005dd0| 4e 54 25 25 22 2c 20 40 | 6d 61 72 6b 53 74 61 72 |NT%%", @|markStar|
|00005de0| 74 2c 20 40 6d 61 72 6b | 45 6e 64 29 0d 09 09 69 |t, @mark|End)...i|
|00005df0| 66 20 6d 61 72 6b 53 74 | 61 72 74 20 3d 3d 20 30 |f markSt|art == 0|
|00005e00| 20 26 26 20 6d 61 72 6b | 45 6e 64 20 3d 3d 20 30 | && mark|End == 0|
|00005e10| 0d 09 09 09 73 63 72 69 | 70 74 45 72 72 6f 72 28 |....scri|ptError(|
|00005e20| 22 54 68 69 73 20 66 69 | 6c 65 20 63 6f 6e 74 61 |"This fi|le conta|
|00005e30| 69 6e 73 20 6e 6f 20 63 | 6f 6d 6d 65 6e 74 20 6d |ins no c|omment m|
|00005e40| 61 72 6b 65 72 21 20 28 | 25 25 43 4f 4d 4d 45 4e |arker! (|%%COMMEN|
|00005e50| 54 25 25 29 22 29 0d 09 | 09 70 72 65 73 65 72 76 |T%%)")..|.preserv|
|00005e60| 65 20 74 68 65 20 73 65 | 6c 65 63 74 69 6f 6e 0d |e the se|lection.|
|00005e70| 09 09 67 65 74 53 65 6c | 65 63 74 69 6f 6e 28 40 |..getSel|ection(@|
|00005e80| 73 65 6c 53 74 61 72 74 | 2c 20 40 73 65 6c 45 6e |selStart|, @selEn|
|00005e90| 64 29 0d 09 09 0d 09 09 | 69 6e 73 65 72 74 20 6f |d)......|insert o|
|00005ea0| 75 72 20 63 6f 6d 6d 65 | 6e 74 0d 09 09 73 65 74 |ur comme|nt...set|
|00005eb0| 53 65 6c 65 63 74 69 6f | 6e 28 6d 61 72 6b 53 74 |Selectio|n(markSt|
|00005ec0| 61 72 74 2c 20 6d 61 72 | 6b 53 74 61 72 74 29 0d |art, mar|kStart).|
|00005ed0| 09 09 70 61 73 74 65 54 | 65 78 74 28 74 61 62 20 |..pasteT|ext(tab |
|00005ee0| 2b 20 73 68 6f 72 74 44 | 61 74 65 28 29 20 2b 20 |+ shortD|ate() + |
|00005ef0| 22 20 20 22 20 2b 20 75 | 73 65 72 2e 69 6e 69 74 |" " + u|ser.init|
|00005f00| 69 61 6c 73 20 2b 20 22 | 20 20 22 29 0d 09 09 70 |ials + "| ")...p|
|00005f10| 61 73 74 65 54 65 78 74 | 28 63 6f 6d 6d 65 6e 74 |asteText|(comment|
|00005f20| 29 0d 09 09 70 61 73 74 | 65 54 65 78 74 28 63 72 |)...past|eText(cr|
|00005f30| 29 0d 09 09 0d 09 09 72 | 65 73 74 6f 72 65 20 73 |)......r|estore s|
|00005f40| 65 6c 65 63 74 69 6f 6e | 0d 09 09 73 65 74 53 65 |election|...setSe|
|00005f50| 6c 65 63 74 69 6f 6e 28 | 73 65 6c 53 74 61 72 74 |lection(|selStart|
|00005f60| 2c 20 73 65 6c 45 6e 64 | 29 0d 09 09 0d 09 09 72 |, selEnd|)......r|
|00005f70| 65 74 75 72 6e 20 74 72 | 75 65 0d 61 64 64 55 73 |eturn tr|ue.addUs|
|00005f80| 65 72 43 6f 6d 6d 65 6e | 74 28 22 54 65 73 74 20 |erCommen|t("Test |
|00005f90| 63 6f 6d 6d 65 6e 74 22 | 29 0d 84 00 00 00 00 00 |comment"|).......|
|00005fa0| 80 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|00005fb0| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|00005fc0| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00005fd0| 80 00 00 00 00 00 84 00 | 00 00 00 00 80 00 00 00 |........|........|
|00005fe0| 00 00 80 00 00 00 00 00 | 84 00 00 00 00 00 80 00 |........|........|
|00005ff0| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00006000| 80 00 00 00 00 00 80 00 | 00 00 00 00 84 00 00 00 |........|........|
|00006010| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|00006020| 00 00 00 00 80 00 00 00 | 00 00 0b 6d 6f 6e 6b 65 |........|...monke|
|00006030| 79 4c 69 76 65 73 00 00 | 01 da 00 01 04 e8 00 02 |yLives..|........|
|00006040| 00 00 00 1e 00 00 01 40 | 00 01 02 00 00 0f 06 47 |.......@|.......G|
|00006050| 65 6e 65 76 61 00 00 00 | 00 00 00 00 00 00 00 00 |eneva...|........|
|00006060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006070| 00 09 00 00 00 00 00 00 | 00 00 00 00 06 54 00 00 |........|.....T..|
|00006080| a8 37 f8 5b a8 55 cf 9f | 00 00 00 05 00 00 01 08 |.7.[.U..|........|
|00006090| 03 25 01 a3 06 08 4c 41 | 4e 44 00 00 00 00 00 00 |.%....LA|ND......|
|000060a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060b0| 00 00 00 00 00 00 68 69 | 73 74 6f 72 69 63 61 6c |......hi|storical|
|000060c0| 20 6a 6f 6b 65 0d 54 68 | 69 6e 6b 2e 62 72 69 6e | joke.Th|ink.brin|
|000060d0| 67 54 6f 46 72 6f 6e 74 | 28 29 0d 6c 6f 6f 70 0d |gToFront|().loop.|
|000060e0| 09 54 68 69 6e 6b 48 65 | 6c 70 65 72 2e 73 65 74 |.ThinkHe|lper.set|
|000060f0| 54 61 72 67 65 74 50 6f | 73 28 72 61 6e 64 6f 6d |TargetPo|s(random|
|00006100| 28 2d 33 30 30 2c 20 33 | 30 30 29 2c 20 72 61 6e |(-300, 3|00), ran|
|00006110| 64 6f 6d 28 30 2c 20 35 | 30 30 29 2c 20 72 61 6e |dom(0, 5|00), ran|
|00006120| 64 6f 6d 28 30 2c 20 35 | 30 30 29 2c 20 72 61 6e |dom(0, 5|00), ran|
|00006130| 64 6f 6d 28 30 2c 20 35 | 30 30 29 29 0d 09 61 70 |dom(0, 5|00))..ap|
|00006140| 70 6c 65 45 76 65 6e 74 | 28 27 4b 41 48 4c 27 2c |pleEvent|('KAHL',|
|00006150| 20 27 54 48 4c 50 27 2c | 20 27 6d 76 77 6e 27 2c | 'THLP',| 'mvwn',|
|00006160| 20 27 77 68 72 65 27 2c | 20 50 6f 69 6e 74 28 73 | 'whre',| Point(s|
|00006170| 74 72 69 6e 67 28 72 61 | 6e 64 6f 6d 28 2d 33 30 |tring(ra|ndom(-30|
|00006180| 30 2c 20 33 30 30 29 29 | 20 2b 20 22 2c 20 22 20 |0, 300))| + ", " |
|00006190| 2b 20 73 74 72 69 6e 67 | 28 72 61 6e 64 6f 6d 28 |+ string|(random(|
|000061a0| 30 2c 20 35 30 30 29 29 | 29 2c 20 27 73 69 7a 65 |0, 500))|), 'size|
|000061b0| 27 2c 20 50 6f 69 6e 74 | 28 73 74 72 69 6e 67 28 |', Point|(string(|
|000061c0| 72 61 6e 64 6f 6d 28 31 | 30 30 2c 20 35 30 30 29 |random(1|00, 500)|
|000061d0| 29 20 2b 20 22 2c 20 22 | 20 2b 20 73 74 72 69 6e |) + ", "| + strin|
|000061e0| 67 28 72 61 6e 64 6f 6d | 28 31 30 30 2c 20 35 30 |g(random|(100, 50|
|000061f0| 30 29 29 29 29 0d 84 00 | 00 00 00 00 80 00 00 00 |0))))...|........|
|00006200| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 84 00 |........|........|
|00006210| 00 00 00 00 0e 67 65 74 | 50 72 6f 6a 65 63 74 50 |.....get|ProjectP|
|00006220| 61 74 68 00 00 00 f2 00 | 01 04 e8 00 02 00 00 00 |ath.....|........|
|00006230| 12 00 00 00 64 00 02 02 | 00 00 0f 06 47 65 6e 65 |....d...|....Gene|
|00006240| 76 61 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |va......|........|
|00006250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 09 00 |........|........|
|00006260| 00 00 00 00 00 00 00 00 | 00 06 54 00 00 a8 55 d7 |........|..T...U.|
|00006270| 40 a8 55 d7 6e 00 00 00 | 02 00 00 00 96 00 7f 01 |@.U.n...|........|
|00006280| 5e 02 00 4c 41 4e 44 00 | 00 00 00 00 00 00 00 00 |^..LAND.|........|
|00006290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062a0| 00 00 00 6f 6e 20 67 65 | 74 50 72 6f 6a 65 63 74 |...on ge|tProject|
|000062b0| 50 61 74 68 28 29 0d 09 | 77 69 74 68 20 54 68 69 |Path()..|with Thi|
|000062c0| 6e 6b 2c 20 65 76 65 6e | 74 49 6e 66 6f 0d 09 09 |nk, even|tInfo...|
|000062d0| 72 65 74 75 72 6e 20 66 | 69 6c 65 2e 66 6f 6c 64 |return f|ile.fold|
|000062e0| 65 72 66 72 6f 6d 70 61 | 74 68 20 28 67 65 74 20 |erfrompa|th (get |
|000062f0| 28 70 72 6f 6a 65 63 74 | 20 5b 31 5d 2e 70 46 53 |(project| [1].pFS|
|00006300| 53 70 65 63 29 29 0d 80 | 00 00 00 00 00 80 00 00 |Spec))..|........|
|00006310| 00 00 00 80 00 00 00 00 | 00 0d 74 65 73 74 49 6e |........|..testIn|
|00006320| 73 65 72 74 69 6f 6e 00 | 00 01 02 00 01 04 e8 00 |sertion.|........|
|00006330| 02 00 00 00 18 00 00 00 | 6e 00 03 02 00 00 0f 06 |........|n.......|
|00006340| 47 65 6e 65 76 61 00 00 | 00 00 00 00 00 00 00 00 |Geneva..|........|
|00006350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006360| 00 00 09 00 00 00 00 00 | 00 00 00 00 00 06 54 00 |........|......T.|
|00006370| 00 a8 37 f9 8f a8 55 c1 | b6 00 00 00 02 00 00 00 |..7...U.|........|
|00006380| e6 fd b0 01 ae ff 31 4c | 41 4e 44 00 00 00 00 00 |......1L|AND.....|
|00006390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063a0| 00 00 00 00 00 00 00 77 | 69 74 68 20 54 68 69 6e |.......w|ith Thin|
|000063b0| 6b 48 65 6c 70 65 72 0d | 09 73 65 74 54 61 72 67 |kHelper.|.setTarg|
|000063c0| 65 74 57 69 6e 64 6f 77 | 28 22 62 69 67 7a 3a 73 |etWindow|("bigz:s|
|000063d0| 6f 75 72 63 65 73 65 72 | 76 65 72 20 6c 6f 67 22 |ourceser|ver log"|
|000063e0| 29 0d 09 73 65 74 53 65 | 6c 65 63 74 69 6f 6e 28 |)..setSe|lection(|
|000063f0| 33 30 30 2c 20 35 30 30 | 29 0d 09 70 61 73 74 65 |300, 500|)..paste|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.